Skip to content

Update a conference

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

auth_id
required
string

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

Example

AC000000000000000000
conference_sid
required
string

SID of the conference to update

Example

6f1c2b3a-0d4e-4f5a-9b8c-7d6e5f4a3b2c

What to do with the conference

object
announce_method

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

string
default: POST
Allowed values: GET POST

Example

POST
announce_url

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

string

Example

https://example.com/announcements/closing-soon.xml
status

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

string
Allowed values: complete

Example

complete

OK

Media type application/json
object
account_sid

Auth ID of the account that owns the conference.

string
api_version

API version, always v1.

string
call_sid_ending_conference

SID of the call whose leaving ended the conference, when one did.

string
conference_source

What created the conference, e.g. a TinyML <Dial> or the contact centre.

string
date_created

When the conference was created, RFC 3339.

string
date_updated

When the conference was last updated, RFC 3339.

string
friendly_name

The name given in <Conference>; unique among the account’s live conferences.

string
message

Error detail; only present on failures.

string
reason_conference_ended

Why the conference ended, when it has.

string
region

Media region the conference runs in, when known.

string
sid

Conference SID (a UUID).

string
status

Status of the conference: init while it is live, complete once it has ended. Error bodies carry failed here.

string
subresource_uris

Not currently populated (always empty).

object
participants

Not currently populated.

string
recordings

Not currently populated.

string
task_meta_data

Contact-centre task metadata (a JSON document in a string), if any.

string
task_sid

Contact-centre task the conference serves, if any.

string
uri

Not currently populated.

string
workflow_sid

Contact-centre workflow that created the conference, if any.

string
workspace_sid

Contact-centre workspace the conference belongs to, if any.

string

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

Media type application/json
object
message

What went wrong, e.g. a validation message or the database error.

string
status

Always failed.

string

Example

{
"message": "<QuerySeter> no row found",
"status": "failed"
}

Authentication failed: missing or invalid credentials (JSON string from the API gateway)

Media type application/json
string

Example generated

example