diff --git a/Bandwidth.Standard.sln b/Bandwidth.Standard.sln
index b1ed807..9042f10 100644
--- a/Bandwidth.Standard.sln
+++ b/Bandwidth.Standard.sln
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{49495A5C-D661-4E5D-9DA3-5FDEE4C0383F}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{9FC2896C-E597-4157-B9F7-09A0CEA7FE7D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
@@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {49495A5C-D661-4E5D-9DA3-5FDEE4C0383F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {49495A5C-D661-4E5D-9DA3-5FDEE4C0383F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {49495A5C-D661-4E5D-9DA3-5FDEE4C0383F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {49495A5C-D661-4E5D-9DA3-5FDEE4C0383F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9FC2896C-E597-4157-B9F7-09A0CEA7FE7D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9FC2896C-E597-4157-B9F7-09A0CEA7FE7D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9FC2896C-E597-4157-B9F7-09A0CEA7FE7D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9FC2896C-E597-4157-B9F7-09A0CEA7FE7D}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
diff --git a/api/openapi.yaml b/api/openapi.yaml
index f300f7d..07f8c06 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -31,7 +31,10 @@ paths:
description: Gets a list of your media files. No query parameters are supported.
operationId: listMedia
parameters:
- - description: Your Bandwidth Account ID.
+ - description: |
+ This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated.
+
+ **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
example: "9900000"
explode: false
in: path
@@ -129,7 +132,10 @@ paths:
file with the same name.
operationId: deleteMedia
parameters:
- - description: Your Bandwidth Account ID.
+ - description: |
+ This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated.
+
+ **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
example: "9900000"
explode: false
in: path
@@ -205,7 +211,10 @@ paths:
description: Downloads a media file you previously uploaded.
operationId: getMedia
parameters:
- - description: Your Bandwidth Account ID.
+ - description: |
+ This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated.
+
+ **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
example: "9900000"
explode: false
in: path
@@ -292,7 +301,10 @@ paths:
A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
operationId: uploadMedia
parameters:
- - description: Your Bandwidth Account ID.
+ - description: |
+ This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated.
+
+ **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
example: "9900000"
explode: false
in: path
@@ -396,7 +408,10 @@ paths:
**Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
operationId: listMessages
parameters:
- - description: Your Bandwidth Account ID.
+ - description: |
+ This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated.
+
+ **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
example: "9900000"
explode: false
in: path
@@ -750,7 +765,10 @@ paths:
messaging.
operationId: createMessage
parameters:
- - description: Your Bandwidth Account ID.
+ - description: |
+ This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated.
+
+ **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
example: "9900000"
explode: false
in: path
@@ -836,7 +854,10 @@ paths:
description: Endpoint for sending Multi-Channel messages.
operationId: createMultiChannelMessage
parameters:
- - description: Your Bandwidth Account ID.
+ - description: |
+ This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated.
+
+ **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
example: "9900000"
explode: false
in: path
@@ -7192,7 +7213,10 @@ components:
code: "500"
parameters:
accountId:
- description: Your Bandwidth Account ID.
+ description: |
+ This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated.
+
+ **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
example: "9900000"
explode: false
in: path
@@ -7535,6 +7559,16 @@ components:
schema:
type: boolean
style: form
+ accountId1:
+ description: Your Bandwidth Account ID.
+ example: "9900000"
+ explode: false
+ in: path
+ name: accountId
+ required: true
+ schema:
+ type: string
+ style: simple
callId:
description: Programmable Voice API Call ID.
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
@@ -7730,7 +7764,17 @@ components:
schema:
type: string
style: form
- accountId1:
+ accountId2:
+ description: Your Bandwidth Account ID.
+ example: "9900000"
+ explode: false
+ in: path
+ name: accountId
+ required: true
+ schema:
+ type: string
+ style: simple
+ accountId3:
explode: false
in: path
name: accountId
@@ -7751,6 +7795,16 @@ components:
format: uuid
type: string
style: simple
+ accountId4:
+ description: Your Bandwidth Account ID.
+ example: "9900000"
+ explode: false
+ in: path
+ name: accountId
+ required: true
+ schema:
+ type: string
+ style: simple
tfPhoneNumberPathParam:
description: Valid Toll-Free telephone number in E.164 format.
example: "+18885555555"
@@ -7771,6 +7825,16 @@ components:
schema:
type: string
style: simple
+ accountId5:
+ description: Your Bandwidth Account ID.
+ example: "9900000"
+ explode: false
+ in: path
+ name: accountId
+ required: true
+ schema:
+ type: string
+ style: simple
endpointId:
description: BRTC Endpoint ID.
explode: false
diff --git a/bandwidth.yml b/bandwidth.yml
index 305a40b..8764a42 100644
--- a/bandwidth.yml
+++ b/bandwidth.yml
@@ -317,7 +317,7 @@ paths:
approximately in order, but exact ordering is not guaranteed.
operationId: createCall
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
requestBody:
$ref: '#/components/requestBodies/createCallRequest'
responses:
@@ -358,7 +358,7 @@ paths:
days, you will get an empty array [] in response.
operationId: listCalls
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/to'
- $ref: '#/components/parameters/from'
- $ref: '#/components/parameters/minStartTimeCalls'
@@ -404,7 +404,7 @@ paths:
7 days, you will get an HTTP 404 response.
operationId: getCallState
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/callId'
responses:
'200':
@@ -434,7 +434,7 @@ paths:
BXML document.
operationId: updateCall
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/callId'
requestBody:
$ref: '#/components/requestBodies/updateCallRequest'
@@ -468,7 +468,7 @@ paths:
description: Interrupts and replaces an active call's BXML document.
operationId: updateCallBxml
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/callId'
requestBody:
$ref: '#/components/requestBodies/updateCallBxmlRequest'
@@ -510,7 +510,7 @@ paths:
of conference records.
operationId: listConferences
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/name'
- $ref: '#/components/parameters/minCreatedTime'
- $ref: '#/components/parameters/maxCreatedTime'
@@ -544,7 +544,7 @@ paths:
description: Returns information about the specified conference.
operationId: getConference
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/conferenceId'
responses:
'200':
@@ -572,7 +572,7 @@ paths:
description: Update the conference state.
operationId: updateConference
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/conferenceId'
requestBody:
$ref: '#/components/requestBodies/updateConferenceRequest'
@@ -604,7 +604,7 @@ paths:
description: Update the conference BXML document.
operationId: updateConferenceBxml
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/conferenceId'
requestBody:
$ref: '#/components/requestBodies/updateConferenceBxmlRequest'
@@ -636,7 +636,7 @@ paths:
description: Returns information about the specified conference member.
operationId: getConferenceMember
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/conferenceId'
- $ref: '#/components/parameters/memberId'
responses:
@@ -665,7 +665,7 @@ paths:
description: Updates settings for a particular conference member.
operationId: updateConferenceMember
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/conferenceId'
- $ref: '#/components/parameters/memberId'
requestBody:
@@ -700,7 +700,7 @@ paths:
took place during the specified conference.
operationId: listConferenceRecordings
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/conferenceId'
responses:
'200':
@@ -730,7 +730,7 @@ paths:
description: Returns metadata for the specified recording.
operationId: getConferenceRecording
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/conferenceId'
- $ref: '#/components/parameters/recordingId'
responses:
@@ -761,7 +761,7 @@ paths:
description: Downloads the specified recording file.
operationId: downloadConferenceRecording
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/conferenceId'
- $ref: '#/components/parameters/recordingId'
responses:
@@ -801,7 +801,7 @@ paths:
empty if no recordings match the specified criteria.
operationId: listAccountCallRecordings
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/to'
- $ref: '#/components/parameters/from'
- $ref: '#/components/parameters/minStartTime'
@@ -834,7 +834,7 @@ paths:
description: Pause or resume a recording on an active phone call.
operationId: updateCallRecordingState
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/callId'
requestBody:
$ref: '#/components/requestBodies/updateCallRecordingRequest'
@@ -868,7 +868,7 @@ paths:
that took place during the specified call.
operationId: listCallRecordings
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/callId'
responses:
'200':
@@ -898,7 +898,7 @@ paths:
description: Returns metadata for the specified recording.
operationId: getCallRecording
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/callId'
- $ref: '#/components/parameters/recordingId'
responses:
@@ -935,7 +935,7 @@ paths:
irreversible, can take an additional 24 to 48 hours.
operationId: deleteRecording
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/callId'
- $ref: '#/components/parameters/recordingId'
responses:
@@ -966,7 +966,7 @@ paths:
description: Downloads the specified recording.
operationId: downloadCallRecording
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/callId'
- $ref: '#/components/parameters/recordingId'
responses:
@@ -995,7 +995,7 @@ paths:
description: Deletes the specified recording's media.
operationId: deleteRecordingMedia
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/callId'
- $ref: '#/components/parameters/recordingId'
responses:
@@ -1038,7 +1038,7 @@ paths:
item.
operationId: getRecordingTranscription
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/callId'
- $ref: '#/components/parameters/recordingId'
responses:
@@ -1073,7 +1073,7 @@ paths:
less than 4 hours.
operationId: transcribeCallRecording
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/callId'
- $ref: '#/components/parameters/recordingId'
requestBody:
@@ -1111,7 +1111,7 @@ paths:
can take an additional 24 to 48 hours.
operationId: deleteRecordingTranscription
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/callId'
- $ref: '#/components/parameters/recordingId'
responses:
@@ -1142,7 +1142,7 @@ paths:
description: Returns details about the current state of the account.
operationId: getStatistics
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
responses:
'200':
$ref: '#/components/responses/getStatisticsResponse'
@@ -1173,7 +1173,7 @@ paths:
[startTranscription](/docs/voice/bxml/startTranscription).
operationId: listRealTimeTranscriptions
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/callId'
responses:
'200':
@@ -1205,7 +1205,7 @@ paths:
[startTranscription](/docs/voice/bxml/startTranscription).
operationId: getRealTimeTranscription
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/callId'
- $ref: '#/components/parameters/transcriptionId'
responses:
@@ -1242,7 +1242,7 @@ paths:
can take an additional 24 to 48 hours.
operationId: deleteRealTimeTranscription
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId1'
- $ref: '#/components/parameters/callId'
- $ref: '#/components/parameters/transcriptionId'
responses:
@@ -1273,7 +1273,7 @@ paths:
description: Send an MFA Code via a phone call.
operationId: generateVoiceCode
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId2'
requestBody:
$ref: '#/components/requestBodies/codeRequest'
responses:
@@ -1298,7 +1298,7 @@ paths:
description: Send an MFA code via text message (SMS).
operationId: generateMessagingCode
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId2'
requestBody:
$ref: '#/components/requestBodies/codeRequest'
responses:
@@ -1321,7 +1321,7 @@ paths:
description: Verify a previously sent MFA code.
operationId: verifyCode
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId2'
requestBody:
$ref: '#/components/requestBodies/codeVerify'
responses:
@@ -1348,7 +1348,7 @@ paths:
tags:
- Phone Number Lookup
parameters:
- - $ref: '#/components/parameters/accountId1'
+ - $ref: '#/components/parameters/accountId3'
requestBody:
$ref: '#/components/requestBodies/createSyncLookupRequest'
responses:
@@ -1371,7 +1371,7 @@ paths:
tags:
- Phone Number Lookup
parameters:
- - $ref: '#/components/parameters/accountId1'
+ - $ref: '#/components/parameters/accountId3'
requestBody:
$ref: '#/components/requestBodies/createAsyncBulkLookupRequest'
responses:
@@ -1391,7 +1391,7 @@ paths:
tags:
- Phone Number Lookup
parameters:
- - $ref: '#/components/parameters/accountId1'
+ - $ref: '#/components/parameters/accountId3'
- $ref: '#/components/parameters/requestId'
responses:
'200':
@@ -1407,7 +1407,7 @@ paths:
description: Submit a request for verification of a toll-free phone number.
operationId: requestTollFreeVerification
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId4'
requestBody:
$ref: '#/components/requestBodies/requestTollFreeVerificationRequest'
responses:
@@ -1446,7 +1446,7 @@ paths:
available.
operationId: getTollFreeVerificationStatus
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId4'
- $ref: '#/components/parameters/tfPhoneNumberPathParam'
responses:
'200':
@@ -1479,7 +1479,7 @@ paths:
true).
operationId: updateTollFreeVerificationRequest
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId4'
- $ref: '#/components/parameters/tfPhoneNumberPathParam'
requestBody:
$ref: '#/components/requestBodies/updateTollFreeVerificationRequestRequest'
@@ -1507,7 +1507,7 @@ paths:
description: Delete a toll-free verification submission for a toll-free number.
operationId: deleteVerificationRequest
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId4'
- $ref: '#/components/parameters/tfPhoneNumberPathParam'
responses:
'204':
@@ -1546,7 +1546,7 @@ paths:
object will be null).
operationId: listWebhookSubscriptions
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId4'
responses:
'200':
$ref: '#/components/responses/listWebhookSubscriptionsResponse'
@@ -1579,7 +1579,7 @@ paths:
modify or delete the subscription at a later time.
operationId: createWebhookSubscription
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId4'
requestBody:
$ref: '#/components/requestBodies/webhookSubscriptionRequest'
responses:
@@ -1610,7 +1610,7 @@ paths:
description: Delete a webhook subscription by ID.
operationId: deleteWebhookSubscription
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId4'
- $ref: '#/components/parameters/webhookSubscriptionIdPathParam'
responses:
'204':
@@ -1640,7 +1640,7 @@ paths:
`basicAuthentication` can be updated).
operationId: updateWebhookSubscription
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId4'
- $ref: '#/components/parameters/webhookSubscriptionIdPathParam'
requestBody:
$ref: '#/components/requestBodies/webhookSubscriptionRequest'
@@ -1699,7 +1699,7 @@ paths:
description: Returns a list of endpoints associated with the specified account.
operationId: listEndpoints
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId5'
- $ref: '#/components/parameters/endpointType'
- $ref: '#/components/parameters/endpointStatus'
- $ref: '#/components/parameters/afterCursor'
@@ -1730,7 +1730,7 @@ paths:
description: Creates a new Endpoint for the specified account.
operationId: createEndpoint
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId5'
requestBody:
$ref: '#/components/requestBodies/createEndpointRequest'
responses:
@@ -1766,7 +1766,7 @@ paths:
description: Returns information about the specified endpoint.
operationId: getEndpoint
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId5'
- $ref: '#/components/parameters/endpointId'
responses:
'200':
@@ -1796,7 +1796,7 @@ paths:
media, the media stream will be terminated.
operationId: deleteEndpoint
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId5'
- $ref: '#/components/parameters/endpointId'
responses:
'204':
@@ -1826,7 +1826,7 @@ paths:
description: Updates the BXML for the specified endpoint.
operationId: updateEndpointBxml
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/accountId5'
- $ref: '#/components/parameters/endpointId'
requestBody:
$ref: '#/components/requestBodies/updateEndpointBxmlRequest'
@@ -8164,7 +8164,13 @@ components:
required: true
schema:
type: string
- description: Your Bandwidth Account ID.
+ description: >
+ This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth
+ App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated.
+
+
+ **When migrating to OAuth authentication, you must use the 7-digit
+ Account ID.**
example: '9900000'
mediaId:
in: path
@@ -8456,6 +8462,14 @@ components:
example: true
schema:
type: boolean
+ accountId1:
+ name: accountId
+ in: path
+ required: true
+ schema:
+ type: string
+ description: Your Bandwidth Account ID.
+ example: '9900000'
callId:
name: callId
in: path
@@ -8623,7 +8637,15 @@ components:
type: string
description: Filter results to calls with specified call Disconnect Cause.
example: hangup
- accountId1:
+ accountId2:
+ in: path
+ name: accountId
+ required: true
+ schema:
+ type: string
+ description: Your Bandwidth Account ID.
+ example: '9900000'
+ accountId3:
in: path
name: accountId
required: true
@@ -8640,6 +8662,14 @@ components:
format: uuid
description: The phone number lookup request ID from Bandwidth.
example: 004223a0-8b17-41b1-bf81-20732adf5590
+ accountId4:
+ in: path
+ name: accountId
+ required: true
+ schema:
+ type: string
+ description: Your Bandwidth Account ID.
+ example: '9900000'
tfPhoneNumberPathParam:
in: path
name: phoneNumber
@@ -8656,6 +8686,14 @@ components:
type: string
description: Webhook subscription ID
example: 7bt57JcsVYJrN9K1OcV1Nu
+ accountId5:
+ in: path
+ name: accountId
+ required: true
+ schema:
+ type: string
+ description: Your Bandwidth Account ID.
+ example: '9900000'
endpointId:
name: endpointId
in: path
diff --git a/docs/MediaApi.md b/docs/MediaApi.md
index 59946c0..c0aabd0 100644
--- a/docs/MediaApi.md
+++ b/docs/MediaApi.md
@@ -40,7 +40,7 @@ namespace Example
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new MediaApi(config);
- var accountId = 9900000; // string | Your Bandwidth Account ID.
+ var accountId = 9900000; // string | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
var mediaId = 14762070468292kw2fuqty55yp2b2/0/bw.png; // string | Media ID to retrieve.
try
@@ -80,7 +80,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **accountId** | **string** | Your Bandwidth Account ID. | |
+| **accountId** | **string** | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** | |
| **mediaId** | **string** | Media ID to retrieve. | |
### Return type
@@ -143,7 +143,7 @@ namespace Example
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new MediaApi(config);
- var accountId = 9900000; // string | Your Bandwidth Account ID.
+ var accountId = 9900000; // string | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
var mediaId = 14762070468292kw2fuqty55yp2b2/0/bw.png; // string | Media ID to retrieve.
try
@@ -187,7 +187,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **accountId** | **string** | Your Bandwidth Account ID. | |
+| **accountId** | **string** | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** | |
| **mediaId** | **string** | Media ID to retrieve. | |
### Return type
@@ -250,7 +250,7 @@ namespace Example
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new MediaApi(config);
- var accountId = 9900000; // string | Your Bandwidth Account ID.
+ var accountId = 9900000; // string | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
var continuationToken = 1XEi2tsFtLo1JbtLwETnM1ZJ+PqAa8w6ENvC5QKvwyrCDYII663Gy5M4s40owR1tjkuWUif6qbWvFtQJR5/ipqbUnfAqL254LKNlPy6tATCzioKSuHuOqgzloDkSwRtX0LtcL2otHS69hK343m+SjdL+vlj71tT39; // string | Continuation token used to retrieve subsequent media. (optional)
try
@@ -294,7 +294,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **accountId** | **string** | Your Bandwidth Account ID. | |
+| **accountId** | **string** | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** | |
| **continuationToken** | **string** | Continuation token used to retrieve subsequent media. | [optional] |
### Return type
@@ -357,7 +357,7 @@ namespace Example
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new MediaApi(config);
- var accountId = 9900000; // string | Your Bandwidth Account ID.
+ var accountId = 9900000; // string | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
var mediaId = 14762070468292kw2fuqty55yp2b2/0/bw.png; // string | Media ID to retrieve.
var body = new System.IO.MemoryStream(System.IO.File.ReadAllBytes("/path/to/file.txt")); // System.IO.Stream |
var contentType = audio/wav; // string | The media type of the entity-body. (optional)
@@ -400,7 +400,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **accountId** | **string** | Your Bandwidth Account ID. | |
+| **accountId** | **string** | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** | |
| **mediaId** | **string** | Media ID to retrieve. | |
| **body** | **System.IO.Stream****System.IO.Stream** | | |
| **contentType** | **string** | The media type of the entity-body. | [optional] |
diff --git a/docs/MessagesApi.md b/docs/MessagesApi.md
index b850fd9..cb601cc 100644
--- a/docs/MessagesApi.md
+++ b/docs/MessagesApi.md
@@ -38,7 +38,7 @@ namespace Example
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new MessagesApi(config);
- var accountId = 9900000; // string | Your Bandwidth Account ID.
+ var accountId = 9900000; // string | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
var messageRequest = new MessageRequest(); // MessageRequest |
try
@@ -82,7 +82,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **accountId** | **string** | Your Bandwidth Account ID. | |
+| **accountId** | **string** | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** | |
| **messageRequest** | [**MessageRequest**](MessageRequest.md) | | |
### Return type
@@ -146,7 +146,7 @@ namespace Example
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new MessagesApi(config);
- var accountId = 9900000; // string | Your Bandwidth Account ID.
+ var accountId = 9900000; // string | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
var messageId = 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6; // string | The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter. (optional)
var sourceTn = %2B15554443333; // string | The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919'). (optional)
var destinationTn = %2B15554443333; // string | The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919'). (optional)
@@ -216,7 +216,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **accountId** | **string** | Your Bandwidth Account ID. | |
+| **accountId** | **string** | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** | |
| **messageId** | **string** | The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter. | [optional] |
| **sourceTn** | **string** | The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919'). | [optional] |
| **destinationTn** | **string** | The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919'). | [optional] |
diff --git a/docs/MultiChannelApi.md b/docs/MultiChannelApi.md
index 5df7ea1..3fe3dac 100644
--- a/docs/MultiChannelApi.md
+++ b/docs/MultiChannelApi.md
@@ -37,7 +37,7 @@ namespace Example
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new MultiChannelApi(config);
- var accountId = 9900000; // string | Your Bandwidth Account ID.
+ var accountId = 9900000; // string | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
var multiChannelMessageRequest = new MultiChannelMessageRequest(); // MultiChannelMessageRequest |
try
@@ -81,7 +81,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
-| **accountId** | **string** | Your Bandwidth Account ID. | |
+| **accountId** | **string** | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** | |
| **multiChannelMessageRequest** | [**MultiChannelMessageRequest**](MultiChannelMessageRequest.md) | | |
### Return type
diff --git a/src/Bandwidth.Standard/Api/MediaApi.cs b/src/Bandwidth.Standard/Api/MediaApi.cs
index 8660d6d..b5e44f0 100644
--- a/src/Bandwidth.Standard/Api/MediaApi.cs
+++ b/src/Bandwidth.Standard/Api/MediaApi.cs
@@ -35,7 +35,7 @@ public interface IMediaApiSync : IApiAccessor
/// Deletes a media file from Bandwidth API server. Make sure you don't have any application scripts still using the media before you delete. If you accidentally delete a media file you can immediately upload a new file with the same name.
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Media ID to retrieve.
/// Index associated with the operation.
///
@@ -48,7 +48,7 @@ public interface IMediaApiSync : IApiAccessor
/// Deletes a media file from Bandwidth API server. Make sure you don't have any application scripts still using the media before you delete. If you accidentally delete a media file you can immediately upload a new file with the same name.
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Media ID to retrieve.
/// Index associated with the operation.
/// ApiResponse of Object(void)
@@ -60,7 +60,7 @@ public interface IMediaApiSync : IApiAccessor
/// Downloads a media file you previously uploaded.
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Media ID to retrieve.
/// Index associated with the operation.
/// System.IO.Stream
@@ -73,7 +73,7 @@ public interface IMediaApiSync : IApiAccessor
/// Downloads a media file you previously uploaded.
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Media ID to retrieve.
/// Index associated with the operation.
/// ApiResponse of System.IO.Stream
@@ -85,7 +85,7 @@ public interface IMediaApiSync : IApiAccessor
/// Gets a list of your media files. No query parameters are supported.
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Continuation token used to retrieve subsequent media. (optional)
/// Index associated with the operation.
/// List<Media>
@@ -98,7 +98,7 @@ public interface IMediaApiSync : IApiAccessor
/// Gets a list of your media files. No query parameters are supported.
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Continuation token used to retrieve subsequent media. (optional)
/// Index associated with the operation.
/// ApiResponse of List<Media>
@@ -110,7 +110,7 @@ public interface IMediaApiSync : IApiAccessor
/// Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Media ID to retrieve.
///
/// The media type of the entity-body. (optional)
@@ -126,7 +126,7 @@ public interface IMediaApiSync : IApiAccessor
/// Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Media ID to retrieve.
///
/// The media type of the entity-body. (optional)
@@ -150,7 +150,7 @@ public interface IMediaApiAsync : IApiAccessor
/// Deletes a media file from Bandwidth API server. Make sure you don't have any application scripts still using the media before you delete. If you accidentally delete a media file you can immediately upload a new file with the same name.
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Media ID to retrieve.
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
@@ -164,7 +164,7 @@ public interface IMediaApiAsync : IApiAccessor
/// Deletes a media file from Bandwidth API server. Make sure you don't have any application scripts still using the media before you delete. If you accidentally delete a media file you can immediately upload a new file with the same name.
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Media ID to retrieve.
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
@@ -177,7 +177,7 @@ public interface IMediaApiAsync : IApiAccessor
/// Downloads a media file you previously uploaded.
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Media ID to retrieve.
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
@@ -191,7 +191,7 @@ public interface IMediaApiAsync : IApiAccessor
/// Downloads a media file you previously uploaded.
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Media ID to retrieve.
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
@@ -204,7 +204,7 @@ public interface IMediaApiAsync : IApiAccessor
/// Gets a list of your media files. No query parameters are supported.
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Continuation token used to retrieve subsequent media. (optional)
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
@@ -218,7 +218,7 @@ public interface IMediaApiAsync : IApiAccessor
/// Gets a list of your media files. No query parameters are supported.
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Continuation token used to retrieve subsequent media. (optional)
/// Index associated with the operation.
/// Cancellation Token to cancel the request.
@@ -231,7 +231,7 @@ public interface IMediaApiAsync : IApiAccessor
/// Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Media ID to retrieve.
///
/// The media type of the entity-body. (optional)
@@ -248,7 +248,7 @@ public interface IMediaApiAsync : IApiAccessor
/// Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Media ID to retrieve.
///
/// The media type of the entity-body. (optional)
@@ -381,7 +381,7 @@ public Bandwidth.Standard.Client.ExceptionFactory ExceptionFactory
/// Delete Media Deletes a media file from Bandwidth API server. Make sure you don't have any application scripts still using the media before you delete. If you accidentally delete a media file you can immediately upload a new file with the same name.
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Media ID to retrieve.
/// Index associated with the operation.
///
@@ -394,7 +394,7 @@ public void DeleteMedia(string accountId, string mediaId, int operationIndex = 0
/// Delete Media Deletes a media file from Bandwidth API server. Make sure you don't have any application scripts still using the media before you delete. If you accidentally delete a media file you can immediately upload a new file with the same name.
///
/// Thrown when fails to make API call
- /// Your Bandwidth Account ID.
+ /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
/// Media ID to retrieve.
/// Index associated with the operation.
/// ApiResponse of Object(void)
@@ -481,7 +481,7 @@ public Bandwidth.Standard.Client.ApiResponse