diff --git a/api/calls-api.ts b/api/calls-api.ts
index e1acd7d..aa7e72c 100644
--- a/api/calls-api.ts
+++ b/api/calls-api.ts
@@ -201,7 +201,7 @@ export const CallsApiAxiosParamCreator = function (configuration?: Configuration
* @summary Update Call
* @param {string} accountId Your Bandwidth Account ID.
* @param {string} callId Programmable Voice API Call ID.
- * @param {UpdateCall} updateCall JSON object containing information to redirect an existing call to a new BXML document
+ * @param {UpdateCall} updateCall JSON or BXML object containing information to redirect an existing call to a new BXML document
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -355,7 +355,7 @@ export const CallsApiFp = function(configuration?: Configuration) {
* @summary Update Call
* @param {string} accountId Your Bandwidth Account ID.
* @param {string} callId Programmable Voice API Call ID.
- * @param {UpdateCall} updateCall JSON object containing information to redirect an existing call to a new BXML document
+ * @param {UpdateCall} updateCall JSON or BXML object containing information to redirect an existing call to a new BXML document
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -434,7 +434,7 @@ export const CallsApiFactory = function (configuration?: Configuration, basePath
* @summary Update Call
* @param {string} accountId Your Bandwidth Account ID.
* @param {string} callId Programmable Voice API Call ID.
- * @param {UpdateCall} updateCall JSON object containing information to redirect an existing call to a new BXML document
+ * @param {UpdateCall} updateCall JSON or BXML object containing information to redirect an existing call to a new BXML document
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -513,7 +513,7 @@ export class CallsApi extends BaseAPI {
* @summary Update Call
* @param {string} accountId Your Bandwidth Account ID.
* @param {string} callId Programmable Voice API Call ID.
- * @param {UpdateCall} updateCall JSON object containing information to redirect an existing call to a new BXML document
+ * @param {UpdateCall} updateCall JSON or BXML object containing information to redirect an existing call to a new BXML document
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CallsApi
diff --git a/bandwidth.yml b/bandwidth.yml
index c4b1fb2..1361c83 100644
--- a/bandwidth.yml
+++ b/bandwidth.yml
@@ -5658,13 +5658,32 @@ components:
$ref: '#/components/schemas/createCall'
updateCallRequest:
description: >-
- JSON object containing information to redirect an existing call to a new
- BXML document
+ JSON or BXML object containing information to redirect an existing call
+ to a new BXML document
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/updateCall'
+ application/xml:
+ schema:
+ type: string
+ description: A valid BXML document to replace the call's current BXML.
+ examples:
+ speakSentence:
+ summary: Speak Sentence
+ value: |-
+
+
+ This is a test sentence.
+
+ redirectUrl:
+ summary: Redirect
+ value: |-
+
+
+
+
updateCallBxmlRequest:
required: true
content: