v53

OpenAPI 3.1.0raw.githubusercontent.com2026-08-041,1941,9384.1 MB
Conference Commands

Play audio to conference participants

Play audio to all or some participants on a conference call.

post/conferences/{id}/actions/play

Path parameters

idstring required

Uniquely identifies the conference by id or name

Request body

audio_urlstring

The URL of a file to be played back in the conference. media_name and audio_url cannot be used together in one request.

call_control_idsstring[]

List of call control ids identifying participants the audio file should be played to. If not given, the audio file will be played to the entire conference.

media_namestring

The media_name of a file to be played back in the conference. The media_name must point to a file previously uploaded to api.telnyx.com/v2/media by the same user/organization. The file must either be a WAV or MP3 file.

region'Australia' | 'Europe' | 'Middle East' | 'US'

Region where the conference data is located. Defaults to the region defined in user's data locality settings (Europe or US).

Example request

{
  "audio_url": "http://www.example.com/sounds/greeting.wav"
}

Response

Successful response upon making a conference command.

Example response

{
  "data": {
    "result": "ok"
  }
}