Update conference
Voice call conferences
Path parameters
-
The SID of the Account that created the Conference resource(s) to update.
-
The Twilio-provided string that uniquely identifies the Conference resource to update
Body
-
AnnounceMethod string(http-method)
The HTTP method used to call
announce_url
. Can be:GET
orPOST
and the default isPOST
Values are
HEAD
,GET
,POST
,PATCH
,PUT
, orDELETE
. -
AnnounceUrl string(uri)
The URL we should call to announce something into the conference. The URL can return an MP3, a WAV, or a TwiML document with
<Play>
or<Say>
. -
Status string
The new status of the resource. Can be: Can be:
init
,in-progress
, orcompleted
. Specifyingcompleted
will end the conference and hang up all participantsValue is
completed
.
POST /2010-04-01/Accounts/{AccountSid}/Conferences/{Sid}.json
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Conferences/{Sid}.json \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'AnnounceMethod=HEAD&AnnounceUrl=https%3A%2F%2Fexample.com&Status=completed'
Request example
{
"AnnounceMethod": "HEAD",
"AnnounceUrl": "https://example.com",
"Status": "completed"
}
Request examples
{
"AnnounceMethod": "HEAD",
"AnnounceUrl": "https://example.com",
"Status": "completed"
}
Response examples (200)
{
"account_sid": "string",
"api_version": "string",
"call_sid_ending_conference": "string",
"date_created": "string",
"date_updated": "string",
"friendly_name": "string",
"reason_conference_ended": "conference-ended-via-api",
"region": "string",
"sid": "string",
"status": "init",
"subresource_uris": {},
"uri": "string"
}
Response examples (200)
{
"account_sid": "string",
"api_version": "string",
"call_sid_ending_conference": "string",
"date_created": "string",
"date_updated": "string",
"friendly_name": "string",
"reason_conference_ended": "conference-ended-via-api",
"region": "string",
"sid": "string",
"status": "init",
"subresource_uris": {},
"uri": "string"
}