Update a conference
const url = 'https://api.siprtc.io/v1/Accounts/AC000000000000000000/Conferences/6f1c2b3a-0d4e-4f5a-9b8c-7d6e5f4a3b2c';const options = { method: 'POST', headers: {Authorization: 'Basic <credentials>', 'Content-Type': 'application/json'}, body: '{"announce_method":"GET","announce_url":"https://example.com/announcements/closing-soon.xml","status":"complete"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.siprtc.io/v1/Accounts/AC000000000000000000/Conferences/6f1c2b3a-0d4e-4f5a-9b8c-7d6e5f4a3b2c \ --header 'Authorization: Basic <credentials>' \ --header 'Content-Type: application/json' \ --data '{ "announce_method": "GET", "announce_url": "https://example.com/announcements/closing-soon.xml", "status": "complete" }'Ends a live conference or plays an announcement into it. With announce_url set, the URL (an MP3 or WAV file, or a TinyML document with <Play> or <Say>) is fetched with announce_method (default POST) and played to every participant; the conference keeps running. Without announce_url, the request ends the conference and hangs up every participant, whatever status says; send status=complete to make that explicit and to have the new status stored. A conference that is already complete is returned unchanged when status=complete is sent again. Accepts JSON (status, announce_url, announce_method) or a form post (Status, AnnounceUrl, AnnounceMethod). The values are not validated. The same operation is also served at PUT.
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
AC000000000000000000SID of the conference to update
Example
6f1c2b3a-0d4e-4f5a-9b8c-7d6e5f4a3b2cRequest Bodyrequired
Section titled “ Request Bodyrequired ”What to do with the conference
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 of a TinyML document with <Play> or <Say>, to play to every participant. When set, the conference keeps running. Form name: AnnounceUrl.
Example
https://example.com/announcements/closing-soon.xmlThe new status of the conference. Send complete to end the conference and hang up every participant. A request without announce_url ends the conference whatever this field says. Form name: Status.
Example
completeobject
HTTP method used to fetch announce_url: GET or POST (default POST). Form name: AnnounceMethod.
Example
POSTURL of an MP3 or WAV file, or of a TinyML document with <Play> or <Say>, to play to every participant. When set, the conference keeps running. Form name: AnnounceUrl.
Example
https://example.com/announcements/closing-soon.xmlThe new status of the conference. Send complete to end the conference and hang up every participant. A request without announce_url ends the conference whatever this field says. Form name: Status.
Example
completeResponses
Section titled “ Responses ”OK
object
Auth ID of the account that owns the conference.
API version, always v1.
SID of the call whose leaving ended the conference, when one did.
What created the conference, e.g. a TinyML <Dial> or the contact centre.
When the conference was created, RFC 3339.
When the conference was last updated, RFC 3339.
The name given in <Conference>; unique among the account’s live conferences.
Error detail; only present on failures.
Why the conference ended, when it has.
Media region the conference runs in, when known.
Conference SID (a UUID).
Status of the conference: init while it is live, complete once it has ended. Error bodies carry failed here.
Not currently populated (always empty).
object
Not currently populated.
Not currently populated.
Contact-centre task metadata (a JSON document in a string), if any.
Contact-centre task the conference serves, if any.
Not currently populated.
Contact-centre workflow that created the conference, if any.
Contact-centre workspace the conference belongs to, if any.
Example
{ "account_sid": "AC000000000000000000", "api_version": "v1", "call_sid_ending_conference": "", "conference_source": "", "date_created": "2026-11-26T09:15:02Z", "date_updated": "2026-11-26T09:21:47Z", "friendly_name": "support-room", "message": "", "reason_conference_ended": "", "region": "", "sid": "6f1c2b3a-0d4e-4f5a-9b8c-7d6e5f4a3b2c", "status": "init", "task_meta_data": "", "task_sid": "", "uri": "", "workflow_sid": "", "workspace_sid": ""}The body could not be read, or there is no conference with this SID in the account
object
What went wrong, e.g. a validation message or the database error.
Always failed.
Example
{ "message": "<QuerySeter> no row found", "status": "failed"}Authentication failed: missing or invalid credentials (JSON string from the API gateway)
Example generated
example