API Endpoint
POST
Arguments
| Parameter | Type | Required | Description |
|---|---|---|---|
urls | string | Yes | A URL or a list of comma-separated URLs linking to an .mp3 or .wav file. |
length | integer | No | The maximum length, in seconds, to play this audio file. |
legs | string | No | The call leg in which the audio is to be played. Allowed values: aleg, bleg, or both. Defaults to aleg. |
loop | boolean | No | When set to true, the audio file plays indefinitely. Defaults to false. |
mix | boolean | No | Determines how current call audio behaves when the file is played. If false, participants cannot hear others until audio stops. If true, call and play audio are mixed. Defaults to true. |