Skip to main content

Update a Conference

Use this endpoint for the Conference method to modify the properties of a conference.

Parameters

ParameterDescription
AnnounceMethod OptionalWhether the request to AnnounceUrl is a GET or a POST. Default is POST.
AnnounceUrl OptionalThe URL to send conference announcements to.
Status OptionalThe status of the conference. If set to completed, the conference will end and all participants will be removed.

Examples

Request

curl https://example.signalwire.com/api/laml/2010-04-01/Accounts/{AccountSid}/Conferences/{Sid}.json \
-X POST \
-u "YourProjectID:YourAuthToken"

Request: Terminate a Conference

End an active conference call by setting the status to completed.

curl https://example.signalwire.com/api/laml/2010-04-01/Accounts/{AccountSid}/Conferences/{Sid}.json \
-X POST \
--data-urlencode "Status=completed"
-u "YourProjectID:YourAuthToken"

Responses

200 OK

{
"account_sid": "b3877c40-da60-4998-90ad-b792e98472af",
"api_version": "2010-04-01",
"date_created": "Mon, 4 Oct 2018 20:00:45 +0000",
"date_updated": "Mon, 4 Oct 2018 20:00:46 +0000",
"friendly_name": null,
"region": "us1",
"sid": "b3877c40-da60-4998-90ad-b792e98472ca",
"status": "completed",
"subresource_uris": {
"participants": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Conferences/b3877c40-da60-4998-90ad-b792e98472ca/Participants.json",
"recordings": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Conferences/b3877c40-da60-4998-90ad-b792e98472ca/Recordings.json"
},
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Conferences/b3877c40-da60-4998-90ad-b792e98472ca.json"
}