Upload hold music
POST/api/v1/hold-music
Upload an audio file to play while a call transfer connects. Use the returned
assetId as custom_on_hold_music_asset_id with on_hold_music: custom on a
cold (SIP INVITE), warm, or agentic warm transfer_option. Accepted formats are
MP3, WAV, WebM, OGG, M4A, AAC and FLAC, up to 10 MB and 210 seconds. Uploads are
shared by every agent in the workspace and can only be used by that workspace.
Request
Responses
- 201
- 400
- 404
Uploaded hold music.
Missing workspaceId or file, unsupported format, file over 10 MB, or audio longer than 210 seconds.
Workspace not found or not accessible to this token.