Conference recording start
POST/conferences/:id/actions/record_start
Start recording the conference. Recording will stop on conference end, or via the Stop Recording command.
Expected Webhooks (see callback schema below):
conference.recording.saved
Request
Path Parameters
Specifies the conference to record by id or name
- application/json
Body
required
Possible values: [wav
, mp3
]
The audio file format used when storing the conference recording. Can be either mp3
or wav
.
Use this field to avoid duplicate commands. Telnyx will ignore any command with the same command_id
for the same conference_id
.
If enabled, a beep sound will be played at the start of a recording.
Possible values: [trim-silence
]
When set to trim-silence
, silence will be removed from the beginning and end of the recording.
Possible values: non-empty
and <= 40 characters
The custom recording file name to be used instead of the default call_leg_id
. Telnyx will still add a Unix timestamp suffix.
Responses
200: Successful response upon making a conference command.
- application/json
401: Unauthorized
404: Conference does not exist
422: Unprocessable entity
Request samples
curl -L 'https://api.telnyx.com/v2/conferences/:id/actions/record_start' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"format": "wav",
"command_id": "891510ac-f3e4-11e8-af5b-de00688a4901",
"play_beep": true
}'
Response samples
{
"data": {
"result": "ok"
}
}