Skip to content

Update a conference participant (PUT)

PUT
/v1/Accounts/{auth_id}/Conferences/{conference_sid}/Participants/{call_sid}
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.

auth_id
required
string

Your account Auth ID, or the Auth ID of a sub-account you own

Example

AC000000000000000000
conference_sid
required
string

Conference SID (a UUID)

Example

6f1c2b3a-0d4e-4f5a-9b8c-7d6e5f4a3b2c
call_sid
required
string

Call SID of the participant’s leg

Example

1f0e2d3c-4b5a-6978-8a9b-0c1d2e3f4a5b

The participant fields to change

object
announce_method

HTTP method used to fetch announce_url: GET or POST (default POST). Form name: AnnounceMethod.

string
Allowed values: GET POST

Example

POST
announce_url

URL of an MP3 or WAV file, or a TinyML document with <Play> or <Say>, played to this participant only. Form name: AnnounceUrl.

string

Example

https://example.com/announcements/you-are-next.xml
hold

true 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.

boolean

Example

false
hold_method

HTTP method used to fetch hold_url: GET or POST (default GET). Form name: HoldMethod.

string
Allowed values: GET POST

Example

GET
hold_url

URL 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.

string

Example

https://example.com/audio/hold-music.mp3
muted

true mutes the participant, false unmutes it. Leave out to keep the current state. Form name: Muted.

boolean

Example

true

OK

Media type application/json
object
account_sid

Auth ID of the account that owns the conference.

string
added_by

Who added the participant, if recorded.

string
announce_url

Last announcement URL played to this participant.

string
api_version

API version, v1; not set on every route.

string
call_sid

Call SID of the participant’s leg. Filled on list results; empty on fetch and update.

string
call_sid_to_coach

Call SID of the participant being coached. Not currently populated.

string
coaching

Whether the participant is coaching another participant. Not currently populated.

boolean
conference_sid

SID of the conference.

string
contact_uri

Address of the participant’s endpoint: a phone number (E.164) or SIP URI.

string
date_created

When the participant joined, RFC 3339.

string
date_updated

When the participant was last updated, RFC 3339.

string
end_conference_on_exit

Whether the conference ends when this participant leaves.

boolean
hold

Whether the participant is on hold.

boolean
hold_url

Music URL played while the participant is on hold.

string
label

The participant’s label, as given when it joined.

string
message

Error detail; only present on failures.

string
muted

Whether the participant is muted.

boolean
source

What added the participant, if recorded.

string
start_conference_on_enter

Whether the conference starts when this participant joins.

boolean
status

success after an update; empty on reads; failed (or, on some update failures, success) on errors.

string
task_sid

Contact-centre task SID, if any.

string
transferred_by

Who transferred the participant in, if recorded.

string
uri

Not currently populated.

string
worker_action

Contact-centre action that added the participant, if any.

string
worker_endpoint

Endpoint the contact-centre worker was reached on, if any.

string
worker_role

Contact-centre role of the participant, if any.

string
worker_sid

Contact-centre worker (agent) SID, if the participant is an agent.

string
workflow_sid

Contact-centre workflow SID, if any.

string
workspace_sid

Contact-centre workspace SID, if the participant is a contact-centre leg.

string

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

Media type application/json
object
account_sid

Auth ID of the account that owns the conference.

string
added_by

Who added the participant, if recorded.

string
announce_url

Last announcement URL played to this participant.

string
api_version

API version, v1; not set on every route.

string
call_sid

Call SID of the participant’s leg. Filled on list results; empty on fetch and update.

string
call_sid_to_coach

Call SID of the participant being coached. Not currently populated.

string
coaching

Whether the participant is coaching another participant. Not currently populated.

boolean
conference_sid

SID of the conference.

string
contact_uri

Address of the participant’s endpoint: a phone number (E.164) or SIP URI.

string
date_created

When the participant joined, RFC 3339.

string
date_updated

When the participant was last updated, RFC 3339.

string
end_conference_on_exit

Whether the conference ends when this participant leaves.

boolean
hold

Whether the participant is on hold.

boolean
hold_url

Music URL played while the participant is on hold.

string
label

The participant’s label, as given when it joined.

string
message

Error detail; only present on failures.

string
muted

Whether the participant is muted.

boolean
source

What added the participant, if recorded.

string
start_conference_on_enter

Whether the conference starts when this participant joins.

boolean
status

success after an update; empty on reads; failed (or, on some update failures, success) on errors.

string
task_sid

Contact-centre task SID, if any.

string
transferred_by

Who transferred the participant in, if recorded.

string
uri

Not currently populated.

string
worker_action

Contact-centre action that added the participant, if any.

string
worker_endpoint

Endpoint the contact-centre worker was reached on, if any.

string
worker_role

Contact-centre role of the participant, if any.

string
worker_sid

Contact-centre worker (agent) SID, if the participant is an agent.

string
workflow_sid

Contact-centre workflow SID, if any.

string
workspace_sid

Contact-centre workspace SID, if the participant is a contact-centre leg.

string

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)

Media type application/json
string

Example generated

example