Update Conference

Update an active conference.

Request URL

POSThttps://voice.bandwidth.com/api/v2/accounts/{accountId}/conferences/{conferenceId}

Basic Authentication

Bandwidth's Voice API leverages Basic Authentication with your Dashboard API Credentials. Read more about how Bandwidth secures endpoints in the Security & Credentials document.


Supported Parameters

Parameter Description Mandatory
status (optional) Setting the conference status to completed ends the conference. No
redirectUrl (optional) The URL to send the conferenceRedirect event which will provide new BXML. Not allowed if state is completed, but required if state is active No
redirectMethod (optional) The HTTP method to use for the request to redirectUrl Not allowed if state is completed No
username (optional) The username to send in the HTTP request to redirectUrl No
password (optional) The password to send in the HTTP request to redirectUrl No

Example 1 of 1: End a conference

curl -X POST \
    --url 'https://voice.bandwidth.com/api/v2/accounts/{accountId}/conferences/{conferenceId}' \
    -u '{username}:{password}' \
    -H 'Content-type: application/json' \
    --data-raw '
    {
      "status" : "completed"
    }'
HTTP/1.1 204
String accountId = "123";
String conferenceId = "456";

ApiModifyConferenceRequest request = new ApiModifyConferenceRequest();
request.setStatus(StatusEnum.COMPLETED);

ApiResponse<Void> response = null;
try {
    response = controller.modifyConference(accountId, conferenceId, request);
} catch (IOException | ApiException e) {
    // Handle error
}
var accountId = "123";
var conferenceId = "456";

var request = new ApiModifyConferenceRequest
{
    Status = StatusEnum.Completed
};

controller.ModifyConference(accountId, conferenceId, request);
account_id = "123"
conference_id = "456"

body = ApiModifyConferenceRequest.new
body.status = "completed"

voice_client.modify_conference(account_id, conference_id, :body => body)
account_id = "123"
conference_id = "456"

body = ApiModifyConferenceRequest()
body.status = "completed"

voice_client.modify_conference(account_id, conference_id, body)
var accountId = '123';
var conferenceId = '456';
var body = new ApiModifyConferenceRequest({"status":"completed"});

controller.modifyConference(accountId, conferenceId, body, function(error, response, context) {
    // Handle callback
});
$accountId = "123";
$conferenceId = "456";

$body = new BandwidthLib\Voice\Models\ApiModifyConferenceRequest();
$body->status = "completed";

$voiceClient->modifyConference($accountId, $conferenceId, $body);

results matching ""

    No results matching ""