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.

Play URL

post

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
post
/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/playback

Example 1: Play a media file in a call

Last updated

Was this helpful?