Skip to main content
POST
/
v1
/
agents
/
{agentId}
/
moh
curl -X POST https://api.telzino.com/v1/agents/123e4567-e89b-12d3-a456-426614174000/moh \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -F "[email protected]"
{ "data": { "url": "https://telimatic-audio-samples-use1.s3.us-east-1.amazonaws.com/moh/123e4567-e89b-12d3-a456-426614174000/hold-music.mp3" } }

Path Parameters

agentId
string
required
The unique identifier of the agent (UUID format)

Request Body

Send the file as multipart/form-data.
file
file
required
MP3 or WAV audio file, maximum 4 MB. The file content is validated — a mislabeled file is rejected.
On success the file is stored and its public URL is saved to the agent’s warm_transfer_moh_url. Uploading again replaces the previous file.
curl -X POST https://api.telzino.com/v1/agents/123e4567-e89b-12d3-a456-426614174000/moh \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -F "[email protected]"
{ "data": { "url": "https://telimatic-audio-samples-use1.s3.us-east-1.amazonaws.com/moh/123e4567-e89b-12d3-a456-426614174000/hold-music.mp3" } }