Check out our upcoming events and meetups! View events →
Update properties of a conference participant.
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.updateParticipant('participant_id', {
id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
});
console.log(response.data);{
"data": {
"id": "<string>",
"call_control_id": "<string>",
"call_leg_id": "<string>",
"conference_id": "<string>",
"label": "<string>",
"status": "joining",
"muted": true,
"on_hold": true,
"whisper_call_control_ids": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"end_conference_on_exit": true,
"soft_end_conference_on_exit": true
}
}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.
Uniquely identifies the participant.
Whether the conference should end when this participant exits.
false
Whether the conference should soft-end when this participant exits. A soft end will stop new participants from joining but allow existing participants to remain.
false
Whether entry/exit beeps are enabled for this participant.
always, never, on_enter, on_exit "always"
Successful response
Show child attributes
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.updateParticipant('participant_id', {
id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
});
console.log(response.data);{
"data": {
"id": "<string>",
"call_control_id": "<string>",
"call_leg_id": "<string>",
"conference_id": "<string>",
"label": "<string>",
"status": "joining",
"muted": true,
"on_hold": true,
"whisper_call_control_ids": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"end_conference_on_exit": true,
"soft_end_conference_on_exit": true
}
}