Play a message in a call
Play an audio message from a link (URL) of your choice, this command can be used to play one or more audio messages in sequence on a voice call.
Playback url into a channel call
Authorizations
HTTPRequired
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
Path parameters
workspaceIdstring · uuidRequired
The ID of the workspace
callIdstring · uuidRequired
The ID for a call
channelIdstring · uuidRequired
The ID for a channel
Body
mediastring[] | nullableRequired
loopintegerOptional
timeoutintegerOptional
pauseMillisecondsinteger · max: 30000Optional
Responses
202
Call Command Play was accepted for processing
application/json
400
The request did not pass validation
application/json
404
The request did not pass validation
application/json
422
The request did not pass validation
application/json
post
/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/playbackExample 1: Play a media file in a call
Last updated
Was this helpful?

