Check out our upcoming events and meetups! View events →
Stop audio being played to all or some participants on a conference call.
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.stop('id');
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.
Uniquely identifies the conference by id or name
List of call control ids identifying participants the audio file should stop be played to. If not given, the audio will be stoped to the entire conference.
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.stop('id');
console.log(response.data);{
"data": {
"result": "ok"
}
}