Play audio on a live call
play_audioPlays audio files into a live call, optionally mixed with the conversation or replacing it, with loop and timed-stop controls. Use stop_audio to end playback.
Instructions
Play one or more audio files (https .mp3/.wav) into a LIVE call (POST /Call/{uuid}/Play/). mix: true (default) plays over the conversation; false replaces it. Stop with stop_audio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mix | No | Mix with the call audio (default true). | |
| legs | No | Which call leg: aleg (default), bleg or both. | |
| loop | No | Repeat until stopped. | |
| urls | Yes | Audio files to play in order. | |
| length | No | Stop after this many seconds. | |
| call_uuid | Yes |