Skip to main content

Custom transfer hold music

Upload audio to the workspace that owns your agent, then reference the returned asset ID in the transfer configuration. Cold, warm, and agentic warm transfers support custom hold music. Actual playback depends on the transfer path; validate it with a test call before relying on it for callers.

Upload and reuse audio​

Send one file and the workspaceId as multipart form data. Supported formats are MP3, WAV, WebM, OGG, M4A, AAC, and FLAC, up to 10 MB and 210 seconds.

curl 'https://api.upon-ai.com/api/v1/hold-music' \
-H "Authorization: Bearer $UPONAI_API_TOKEN" \
-F 'workspaceId=42' \
-F 'file=@hold-music.wav'

A successful upload returns HTTP 201 with assetId, fileName, fileSize, and createdAt. Audio may be normalized during processing. Keep the returned assetId; the API does not expose a public audio download URL.

List previously uploaded audio with:

curl 'https://api.upon-ai.com/api/v1/hold-music?workspaceId=42' \
-H "Authorization: Bearer $UPONAI_API_TOKEN"

Configure a transfer​

Use these fields inside the existing transfer tool or conversation-flow node's transfer_option, alongside your other transfer settings:

{
"type": "warm_transfer",
"on_hold_music": "custom",
"custom_on_hold_music_asset_id": "asset_from_your_upload"
}

custom_on_hold_music_asset_id is required for custom. Uploads from another workspace cannot be assigned directly. Standard choices remain none, relaxing_sound, uplifting_beats, and ringtone. Omitting on_hold_music on a cold transfer preserves its existing audio behavior.

In the portal, select Custom audio in the transfer's on-hold music picker, then choose an existing upload or upload a new file. The picker is shared by the agent editor and conversation-flow transfer nodes.

The MCP server does not expose an upload tool; use this HTTP endpoint for uploads.

Search documentation

Type to filter pages. Use ↑ ↓ to choose, then Enter to open.

0 matching pages
AI questions are sent only when you select Ask AI or press Enter on it. Don’t include API keys or customer data.