Update a conference participant (PUT)
const url = 'https://api.siprtc.io/v1/Accounts/AC000000000000000000/Conferences/6f1c2b3a-0d4e-4f5a-9b8c-7d6e5f4a3b2c/Participants/1f0e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b';const options = { method: 'PUT', headers: {Authorization: 'Basic <credentials>', 'Content-Type': 'application/json'}, body: '{"announce_method":"GET","announce_url":"https://example.com/announcements/you-are-next.xml","hold":false,"hold_method":"GET","hold_url":"https://example.com/audio/hold-music.mp3","muted":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.siprtc.io/v1/Accounts/AC000000000000000000/Conferences/6f1c2b3a-0d4e-4f5a-9b8c-7d6e5f4a3b2c/Participants/1f0e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b \ --header 'Authorization: Basic <credentials>' \ --header 'Content-Type: application/json' \ --data '{ "announce_method": "GET", "announce_url": "https://example.com/announcements/you-are-next.xml", "hold": false, "hold_method": "GET", "hold_url": "https://example.com/audio/hold-music.mp3", "muted": true }'The same operation as POST /Accounts/{auth_id}/Conferences/{conference_sid}/Participants/{call_sid} (updateConferenceParticipant), served at PUT: mute or unmute, hold or unhold, or play an announcement to one participant. Only the fields you send change.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Your account Auth ID, or the Auth ID of a sub-account you own
Example
AC000000000000000000Conference SID (a UUID)
Example
6f1c2b3a-0d4e-4f5a-9b8c-7d6e5f4a3b2cCall SID of the participant’s leg
Example
1f0e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5bRequest Bodyrequired
Section titled “ Request Bodyrequired ”The participant fields to change
object
HTTP method used to fetch announce_url: GET or POST (default POST). Form name: AnnounceMethod.
Example
POSTURL of an MP3 or WAV file, or a TinyML document with <Play> or <Say>, played to this participant only. Form name: AnnounceUrl.
Example
https://example.com/announcements/you-are-next.xmltrue puts the participant on hold (it hears hold_url and is not heard), false brings it back into the conference. Leave out to keep the current state. Form name: Hold.
Example
falseHTTP method used to fetch hold_url: GET or POST (default GET). Form name: HoldMethod.
Example
GETURL of the music played while the participant is on hold: an MP3 or WAV file, or a TinyML document with <Play>, <Say> or <Redirect>. Form name: HoldUrl.
Example
https://example.com/audio/hold-music.mp3true mutes the participant, false unmutes it. Leave out to keep the current state. Form name: Muted.
Example
trueobject
HTTP method used to fetch announce_url: GET or POST (default POST). Form name: AnnounceMethod.
Example
POSTURL of an MP3 or WAV file, or a TinyML document with <Play> or <Say>, played to this participant only. Form name: AnnounceUrl.
Example
https://example.com/announcements/you-are-next.xmltrue puts the participant on hold (it hears hold_url and is not heard), false brings it back into the conference. Leave out to keep the current state. Form name: Hold.
Example
falseHTTP method used to fetch hold_url: GET or POST (default GET). Form name: HoldMethod.
Example
GETURL of the music played while the participant is on hold: an MP3 or WAV file, or a TinyML document with <Play>, <Say> or <Redirect>. Form name: HoldUrl.
Example
https://example.com/audio/hold-music.mp3true mutes the participant, false unmutes it. Leave out to keep the current state. Form name: Muted.
Example
trueResponses
Section titled “ Responses ”OK
object
Auth ID of the account that owns the conference.
Who added the participant, if recorded.
Last announcement URL played to this participant.
API version, v1; not set on every route.
Call SID of the participant’s leg. Filled on list results; empty on fetch and update.
Call SID of the participant being coached. Not currently populated.
Whether the participant is coaching another participant. Not currently populated.
SID of the conference.
Address of the participant’s endpoint: a phone number (E.164) or SIP URI.
When the participant joined, RFC 3339.
When the participant was last updated, RFC 3339.
Whether the conference ends when this participant leaves.
Whether the participant is on hold.
Music URL played while the participant is on hold.
The participant’s label, as given when it joined.
Error detail; only present on failures.
Whether the participant is muted.
What added the participant, if recorded.
Whether the conference starts when this participant joins.
success after an update; empty on reads; failed (or, on some update failures, success) on errors.
Contact-centre task SID, if any.
Who transferred the participant in, if recorded.
Not currently populated.
Contact-centre action that added the participant, if any.
Endpoint the contact-centre worker was reached on, if any.
Contact-centre role of the participant, if any.
Contact-centre worker (agent) SID, if the participant is an agent.
Contact-centre workflow SID, if any.
Contact-centre workspace SID, if the participant is a contact-centre leg.
Example
{ "account_sid": "AC000000000000000000", "added_by": "", "announce_url": "", "api_version": "v1", "call_sid": "1f0e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b", "call_sid_to_coach": "", "coaching": false, "conference_sid": "6f1c2b3a-0d4e-4f5a-9b8c-7d6e5f4a3b2c", "contact_uri": "+15550100123", "date_created": "2026-11-26T09:15:04Z", "date_updated": "2026-11-26T09:18:30Z", "end_conference_on_exit": false, "hold": false, "hold_url": "", "label": "customer", "message": "", "muted": false, "source": "", "start_conference_on_enter": true, "status": "success", "task_sid": "", "transferred_by": "", "uri": "", "worker_action": "", "worker_endpoint": "", "worker_role": "", "worker_sid": "", "workflow_sid": "", "workspace_sid": ""}The conference or the participant is not in the account; message holds the database error
object
Auth ID of the account that owns the conference.
Who added the participant, if recorded.
Last announcement URL played to this participant.
API version, v1; not set on every route.
Call SID of the participant’s leg. Filled on list results; empty on fetch and update.
Call SID of the participant being coached. Not currently populated.
Whether the participant is coaching another participant. Not currently populated.
SID of the conference.
Address of the participant’s endpoint: a phone number (E.164) or SIP URI.
When the participant joined, RFC 3339.
When the participant was last updated, RFC 3339.
Whether the conference ends when this participant leaves.
Whether the participant is on hold.
Music URL played while the participant is on hold.
The participant’s label, as given when it joined.
Error detail; only present on failures.
Whether the participant is muted.
What added the participant, if recorded.
Whether the conference starts when this participant joins.
success after an update; empty on reads; failed (or, on some update failures, success) on errors.
Contact-centre task SID, if any.
Who transferred the participant in, if recorded.
Not currently populated.
Contact-centre action that added the participant, if any.
Endpoint the contact-centre worker was reached on, if any.
Contact-centre role of the participant, if any.
Contact-centre worker (agent) SID, if the participant is an agent.
Contact-centre workflow SID, if any.
Contact-centre workspace SID, if the participant is a contact-centre leg.
Example
{ "account_sid": "AC000000000000000000", "added_by": "", "announce_url": "", "api_version": "v1", "call_sid": "1f0e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b", "call_sid_to_coach": "", "coaching": false, "conference_sid": "6f1c2b3a-0d4e-4f5a-9b8c-7d6e5f4a3b2c", "contact_uri": "+15550100123", "date_created": "2026-11-26T09:15:04Z", "date_updated": "2026-11-26T09:18:30Z", "end_conference_on_exit": false, "hold": false, "hold_url": "", "label": "customer", "message": "", "muted": false, "source": "", "start_conference_on_enter": true, "status": "success", "task_sid": "", "transferred_by": "", "uri": "", "worker_action": "", "worker_endpoint": "", "worker_role": "", "worker_sid": "", "workflow_sid": "", "workspace_sid": ""}Authentication failed: missing or invalid credentials (JSON string from the API gateway)
Example generated
example