Check out our upcoming events and meetups! View events →
Start recording the conference. Recording will stop on conference end, or via the Stop Recording command.
Expected Webhooks:
conference.recording.savedimport Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const response = await client.conferences.actions.recordStart('id', { format: 'wav' });
console.log(response.data);{
"data": {
"result": "ok"
}
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Specifies the conference to record by id or name
The audio file format used when storing the conference recording. Can be either mp3 or wav.
wav, mp3 "mp3"
Use this field to avoid duplicate commands. Telnyx will ignore any command with the same command_id for the same conference_id.
"891510ac-f3e4-11e8-af5b-de00688a4901"
When dual, final audio file will be stereo recorded with the conference creator on the first channel, and the rest on the second channel.
single, dual "dual"
If enabled, a beep sound will be played at the start of a recording.
true
When set to trim-silence, silence will be removed from the beginning and end of the recording.
trim-silence "trim-silence"
The custom recording file name to be used instead of the default call_leg_id. Telnyx will still add a Unix timestamp suffix.
1 - 40"my_recording_file_name"
Region where the conference data is located. Defaults to the region defined in user's data locality settings (Europe or US).
Australia, Europe, Middle East, US "US"
Successful response upon making a conference command.
Show child attributes
{ "result": "ok" }Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const response = await client.conferences.actions.recordStart('id', { format: 'wav' });
console.log(response.data);{
"data": {
"result": "ok"
}
}