diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
index ea16199a..987b0c85 100644
--- a/.openapi-generator/FILES
+++ b/.openapi-generator/FILES
@@ -10,6 +10,9 @@ docs/CallDirectionEnum.md
docs/CallRecordingMetadata.md
docs/CallState.md
docs/CallStateEnum.md
+docs/CallTranscription.md
+docs/CallTranscriptionMetadata.md
+docs/CallTranscriptionResponse.md
docs/CallbackMethodEnum.md
docs/CallsApi.md
docs/CodeRequest.md
@@ -75,6 +78,8 @@ docs/PriorityEnum.md
docs/RecordingAvailableCallback.md
docs/RecordingCompleteCallback.md
docs/RecordingStateEnum.md
+docs/RecordingTranscriptionMetadata.md
+docs/RecordingTranscriptions.md
docs/RecordingsApi.md
docs/RedirectCallback.md
docs/RedirectMethodEnum.md
@@ -85,8 +90,7 @@ docs/TnLookupRequestError.md
docs/TranscribeRecording.md
docs/Transcription.md
docs/TranscriptionAvailableCallback.md
-docs/TranscriptionList.md
-docs/TranscriptionMetadata.md
+docs/TranscriptionsApi.md
docs/TransferAnswerCallback.md
docs/TransferCompleteCallback.md
docs/TransferDisconnectCallback.md
@@ -99,6 +103,12 @@ docs/VerifyCodeResponse.md
docs/VoiceApiError.md
docs/VoiceCodeResponse.md
git_push.sh
+src/Bandwidth.Standard.Test/Api/TranscriptionsApiTests.cs
+src/Bandwidth.Standard.Test/Model/CallTranscriptionMetadataTests.cs
+src/Bandwidth.Standard.Test/Model/CallTranscriptionResponseTests.cs
+src/Bandwidth.Standard.Test/Model/CallTranscriptionTests.cs
+src/Bandwidth.Standard.Test/Model/RecordingTranscriptionMetadataTests.cs
+src/Bandwidth.Standard.Test/Model/RecordingTranscriptionsTests.cs
src/Bandwidth.Standard/Api/CallsApi.cs
src/Bandwidth.Standard/Api/ConferencesApi.cs
src/Bandwidth.Standard/Api/MFAApi.cs
@@ -107,6 +117,7 @@ src/Bandwidth.Standard/Api/MessagesApi.cs
src/Bandwidth.Standard/Api/PhoneNumberLookupApi.cs
src/Bandwidth.Standard/Api/RecordingsApi.cs
src/Bandwidth.Standard/Api/StatisticsApi.cs
+src/Bandwidth.Standard/Api/TranscriptionsApi.cs
src/Bandwidth.Standard/Client/ApiClient.cs
src/Bandwidth.Standard/Client/ApiException.cs
src/Bandwidth.Standard/Client/ApiResponse.cs
@@ -132,6 +143,9 @@ src/Bandwidth.Standard/Model/CallDirectionEnum.cs
src/Bandwidth.Standard/Model/CallRecordingMetadata.cs
src/Bandwidth.Standard/Model/CallState.cs
src/Bandwidth.Standard/Model/CallStateEnum.cs
+src/Bandwidth.Standard/Model/CallTranscription.cs
+src/Bandwidth.Standard/Model/CallTranscriptionMetadata.cs
+src/Bandwidth.Standard/Model/CallTranscriptionResponse.cs
src/Bandwidth.Standard/Model/CallbackMethodEnum.cs
src/Bandwidth.Standard/Model/CodeRequest.cs
src/Bandwidth.Standard/Model/Conference.cs
@@ -191,6 +205,8 @@ src/Bandwidth.Standard/Model/PriorityEnum.cs
src/Bandwidth.Standard/Model/RecordingAvailableCallback.cs
src/Bandwidth.Standard/Model/RecordingCompleteCallback.cs
src/Bandwidth.Standard/Model/RecordingStateEnum.cs
+src/Bandwidth.Standard/Model/RecordingTranscriptionMetadata.cs
+src/Bandwidth.Standard/Model/RecordingTranscriptions.cs
src/Bandwidth.Standard/Model/RedirectCallback.cs
src/Bandwidth.Standard/Model/RedirectMethodEnum.cs
src/Bandwidth.Standard/Model/StirShaken.cs
@@ -199,8 +215,6 @@ src/Bandwidth.Standard/Model/TnLookupRequestError.cs
src/Bandwidth.Standard/Model/TranscribeRecording.cs
src/Bandwidth.Standard/Model/Transcription.cs
src/Bandwidth.Standard/Model/TranscriptionAvailableCallback.cs
-src/Bandwidth.Standard/Model/TranscriptionList.cs
-src/Bandwidth.Standard/Model/TranscriptionMetadata.cs
src/Bandwidth.Standard/Model/TransferAnswerCallback.cs
src/Bandwidth.Standard/Model/TransferCompleteCallback.cs
src/Bandwidth.Standard/Model/TransferDisconnectCallback.cs
diff --git a/Bandwidth.Standard.sln b/Bandwidth.Standard.sln
index a7139336..b2e06b38 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", "{A3827E69-AF79-4EED-9D9E-C3E87AD4EAEA}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{C6094E4B-D95D-4E49-8ECE-F2AD1A9044BB}"
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
- {A3827E69-AF79-4EED-9D9E-C3E87AD4EAEA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {A3827E69-AF79-4EED-9D9E-C3E87AD4EAEA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {A3827E69-AF79-4EED-9D9E-C3E87AD4EAEA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {A3827E69-AF79-4EED-9D9E-C3E87AD4EAEA}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C6094E4B-D95D-4E49-8ECE-F2AD1A9044BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C6094E4B-D95D-4E49-8ECE-F2AD1A9044BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C6094E4B-D95D-4E49-8ECE-F2AD1A9044BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C6094E4B-D95D-4E49-8ECE-F2AD1A9044BB}.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/README.md b/README.md
index 92bffb88..2328ea16 100644
--- a/README.md
+++ b/README.md
@@ -132,17 +132,20 @@ Class | Method | HTTP request | Description
*MessagesApi* | [**ListMessages**](docs/MessagesApi.md#listmessages) | **GET** /users/{accountId}/messages | List Messages
*PhoneNumberLookupApi* | [**CreateLookup**](docs/PhoneNumberLookupApi.md#createlookup) | **POST** /accounts/{accountId}/tnlookup | Create Lookup
*PhoneNumberLookupApi* | [**GetLookupStatus**](docs/PhoneNumberLookupApi.md#getlookupstatus) | **GET** /accounts/{accountId}/tnlookup/{requestId} | Get Lookup Request Status
-*RecordingsApi* | [**DeleteCallTranscription**](docs/RecordingsApi.md#deletecalltranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Delete Transcription
*RecordingsApi* | [**DeleteRecording**](docs/RecordingsApi.md#deleterecording) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId} | Delete Recording
*RecordingsApi* | [**DeleteRecordingMedia**](docs/RecordingsApi.md#deleterecordingmedia) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media | Delete Recording Media
+*RecordingsApi* | [**DeleteRecordingTranscription**](docs/RecordingsApi.md#deleterecordingtranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Delete Transcription
*RecordingsApi* | [**DownloadCallRecording**](docs/RecordingsApi.md#downloadcallrecording) | **GET** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media | Download Recording
*RecordingsApi* | [**GetCallRecording**](docs/RecordingsApi.md#getcallrecording) | **GET** /accounts/{accountId}/calls/{callId}/recordings/{recordingId} | Get Call Recording
-*RecordingsApi* | [**GetCallTranscription**](docs/RecordingsApi.md#getcalltranscription) | **GET** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Get Transcription
+*RecordingsApi* | [**GetRecordingTranscription**](docs/RecordingsApi.md#getrecordingtranscription) | **GET** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Get Transcription
*RecordingsApi* | [**ListAccountCallRecordings**](docs/RecordingsApi.md#listaccountcallrecordings) | **GET** /accounts/{accountId}/recordings | Get Call Recordings
*RecordingsApi* | [**ListCallRecordings**](docs/RecordingsApi.md#listcallrecordings) | **GET** /accounts/{accountId}/calls/{callId}/recordings | List Call Recordings
*RecordingsApi* | [**TranscribeCallRecording**](docs/RecordingsApi.md#transcribecallrecording) | **POST** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Create Transcription Request
*RecordingsApi* | [**UpdateCallRecordingState**](docs/RecordingsApi.md#updatecallrecordingstate) | **PUT** /accounts/{accountId}/calls/{callId}/recording | Update Recording
*StatisticsApi* | [**GetStatistics**](docs/StatisticsApi.md#getstatistics) | **GET** /accounts/{accountId}/statistics | Get Account Statistics
+*TranscriptionsApi* | [**DeleteRealTimeTranscription**](docs/TranscriptionsApi.md#deleterealtimetranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Delete a specific transcription
+*TranscriptionsApi* | [**GetRealTimeTranscription**](docs/TranscriptionsApi.md#getrealtimetranscription) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Retrieve a specific transcription
+*TranscriptionsApi* | [**ListRealTimeTranscriptions**](docs/TranscriptionsApi.md#listrealtimetranscriptions) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions | Enumerate transcriptions made with StartTranscription
@@ -156,6 +159,9 @@ Class | Method | HTTP request | Description
- [Model.CallRecordingMetadata](docs/CallRecordingMetadata.md)
- [Model.CallState](docs/CallState.md)
- [Model.CallStateEnum](docs/CallStateEnum.md)
+ - [Model.CallTranscription](docs/CallTranscription.md)
+ - [Model.CallTranscriptionMetadata](docs/CallTranscriptionMetadata.md)
+ - [Model.CallTranscriptionResponse](docs/CallTranscriptionResponse.md)
- [Model.CallbackMethodEnum](docs/CallbackMethodEnum.md)
- [Model.CodeRequest](docs/CodeRequest.md)
- [Model.Conference](docs/Conference.md)
@@ -215,6 +221,8 @@ Class | Method | HTTP request | Description
- [Model.RecordingAvailableCallback](docs/RecordingAvailableCallback.md)
- [Model.RecordingCompleteCallback](docs/RecordingCompleteCallback.md)
- [Model.RecordingStateEnum](docs/RecordingStateEnum.md)
+ - [Model.RecordingTranscriptionMetadata](docs/RecordingTranscriptionMetadata.md)
+ - [Model.RecordingTranscriptions](docs/RecordingTranscriptions.md)
- [Model.RedirectCallback](docs/RedirectCallback.md)
- [Model.RedirectMethodEnum](docs/RedirectMethodEnum.md)
- [Model.StirShaken](docs/StirShaken.md)
@@ -223,8 +231,6 @@ Class | Method | HTTP request | Description
- [Model.TranscribeRecording](docs/TranscribeRecording.md)
- [Model.Transcription](docs/Transcription.md)
- [Model.TranscriptionAvailableCallback](docs/TranscriptionAvailableCallback.md)
- - [Model.TranscriptionList](docs/TranscriptionList.md)
- - [Model.TranscriptionMetadata](docs/TranscriptionMetadata.md)
- [Model.TransferAnswerCallback](docs/TransferAnswerCallback.md)
- [Model.TransferCompleteCallback](docs/TransferCompleteCallback.md)
- [Model.TransferDisconnectCallback](docs/TransferDisconnectCallback.md)
diff --git a/api/openapi.yaml b/api/openapi.yaml
index 566ddebd..3bc89b3b 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -18,6 +18,7 @@ tags:
- name: Conferences
- name: Recordings
- name: Statistics
+- name: Transcriptions
- name: MFA
- name: Phone Number Lookup
paths:
@@ -3336,7 +3337,7 @@ paths:
Deletes the specified recording's transcription.
Note: After the deletion is requested and a `204` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
- operationId: deleteCallTranscription
+ operationId: deleteRecordingTranscription
parameters:
- description: Your Bandwidth Account ID.
example: "9900000"
@@ -3453,11 +3454,10 @@ paths:
get:
description: |-
Downloads the specified transcription.
-
- If the transcribed recording was multi-channel, then there will be 2 transcripts.
+ If the recording was multi-channel, then there will be 2 transcripts.
The caller/called party transcript will be the first item while [``](/docs/voice/bxml/playAudio) and [``](/docs/voice/bxml/speakSentence) transcript will be the second item.
During a [``](/docs/voice/bxml/transfer) the A-leg transcript will be the first item while the B-leg transcript will be the second item.
- operationId: getCallTranscription
+ operationId: getRecordingTranscription
parameters:
- description: Your Bandwidth Account ID.
example: "9900000"
@@ -3491,8 +3491,8 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/transcriptionList'
- description: Transcription found
+ $ref: '#/components/schemas/recordingTranscriptions'
+ description: Transcription found.
"400":
content:
application/json:
@@ -3805,6 +3805,365 @@ paths:
servers:
- description: Production
url: https://voice.bandwidth.com/api/v2
+ /accounts/{accountId}/calls/{callId}/transcriptions:
+ get:
+ description: "Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription)."
+ operationId: listRealTimeTranscriptions
+ parameters:
+ - description: Your Bandwidth Account ID.
+ example: "9900000"
+ explode: false
+ in: path
+ name: accountId
+ required: true
+ schema:
+ type: string
+ style: simple
+ - description: Programmable Voice API Call ID.
+ example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
+ explode: false
+ in: path
+ name: callId
+ required: true
+ schema:
+ type: string
+ style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/callTranscriptionMetadataList'
+ description: Transcription found.
+ "400":
+ content:
+ application/json:
+ examples:
+ badRequestErrorExample:
+ $ref: '#/components/examples/voiceBadRequestErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Bad Request
+ "401":
+ content:
+ application/json:
+ examples:
+ unauthorizedErrorExample:
+ $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Unauthorized
+ "403":
+ content:
+ application/json:
+ examples:
+ forbiddenErrorExample:
+ $ref: '#/components/examples/voiceForbiddenErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Forbidden
+ "404":
+ content:
+ application/json:
+ examples:
+ notFoundErrorExample:
+ $ref: '#/components/examples/voiceNotFoundErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Not Found
+ "405":
+ content:
+ application/json:
+ examples:
+ notAllowedErrorExample:
+ $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Method Not Allowed
+ "415":
+ content:
+ application/json:
+ examples:
+ tooManyRequestsErrorExample:
+ $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Unsupported Media Type
+ "429":
+ content:
+ application/json:
+ examples:
+ tooManyRequestsErrorExample:
+ $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Too Many Requests
+ headers:
+ Retry-After:
+ description: When you should try your request again.
+ explode: false
+ schema:
+ type: string
+ style: simple
+ "500":
+ content:
+ application/json:
+ examples:
+ internalServerErrorExample:
+ $ref: '#/components/examples/voiceInternalServerErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Internal Server Error
+ summary: Enumerate transcriptions made with StartTranscription
+ tags:
+ - Transcriptions
+ servers:
+ - description: Production
+ url: https://voice.bandwidth.com/api/v2
+ /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId}:
+ delete:
+ description: |-
+ Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
+
+ Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
+ operationId: deleteRealTimeTranscription
+ parameters:
+ - description: Your Bandwidth Account ID.
+ example: "9900000"
+ explode: false
+ in: path
+ name: accountId
+ required: true
+ schema:
+ type: string
+ style: simple
+ - description: Programmable Voice API Call ID.
+ example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
+ explode: false
+ in: path
+ name: callId
+ required: true
+ schema:
+ type: string
+ style: simple
+ - description: Programmable Voice API Transcription ID.
+ example: t-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
+ explode: false
+ in: path
+ name: transcriptionId
+ required: true
+ schema:
+ type: string
+ style: simple
+ responses:
+ "200":
+ description: Transcription data was deleted.
+ "400":
+ content:
+ application/json:
+ examples:
+ badRequestErrorExample:
+ $ref: '#/components/examples/voiceBadRequestErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Bad Request
+ "401":
+ content:
+ application/json:
+ examples:
+ unauthorizedErrorExample:
+ $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Unauthorized
+ "403":
+ content:
+ application/json:
+ examples:
+ forbiddenErrorExample:
+ $ref: '#/components/examples/voiceForbiddenErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Forbidden
+ "404":
+ content:
+ application/json:
+ examples:
+ notFoundErrorExample:
+ $ref: '#/components/examples/voiceNotFoundErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Not Found
+ "405":
+ content:
+ application/json:
+ examples:
+ notAllowedErrorExample:
+ $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Method Not Allowed
+ "415":
+ content:
+ application/json:
+ examples:
+ tooManyRequestsErrorExample:
+ $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Unsupported Media Type
+ "429":
+ content:
+ application/json:
+ examples:
+ tooManyRequestsErrorExample:
+ $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Too Many Requests
+ headers:
+ Retry-After:
+ description: When you should try your request again.
+ explode: false
+ schema:
+ type: string
+ style: simple
+ "500":
+ content:
+ application/json:
+ examples:
+ internalServerErrorExample:
+ $ref: '#/components/examples/voiceInternalServerErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Internal Server Error
+ summary: Delete a specific transcription
+ tags:
+ - Transcriptions
+ get:
+ description: "Retrieve the specified transcription that was created on this\
+ \ call via [startTranscription](/docs/voice/bxml/startTranscription)."
+ operationId: getRealTimeTranscription
+ parameters:
+ - description: Your Bandwidth Account ID.
+ example: "9900000"
+ explode: false
+ in: path
+ name: accountId
+ required: true
+ schema:
+ type: string
+ style: simple
+ - description: Programmable Voice API Call ID.
+ example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
+ explode: false
+ in: path
+ name: callId
+ required: true
+ schema:
+ type: string
+ style: simple
+ - description: Programmable Voice API Transcription ID.
+ example: t-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
+ explode: false
+ in: path
+ name: transcriptionId
+ required: true
+ schema:
+ type: string
+ style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/callTranscriptionResponse'
+ description: Transcription found.
+ "400":
+ content:
+ application/json:
+ examples:
+ badRequestErrorExample:
+ $ref: '#/components/examples/voiceBadRequestErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Bad Request
+ "401":
+ content:
+ application/json:
+ examples:
+ unauthorizedErrorExample:
+ $ref: '#/components/examples/voiceUnauthorizedErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Unauthorized
+ "403":
+ content:
+ application/json:
+ examples:
+ forbiddenErrorExample:
+ $ref: '#/components/examples/voiceForbiddenErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Forbidden
+ "404":
+ content:
+ application/json:
+ examples:
+ notFoundErrorExample:
+ $ref: '#/components/examples/voiceNotFoundErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Not Found
+ "405":
+ content:
+ application/json:
+ examples:
+ notAllowedErrorExample:
+ $ref: '#/components/examples/voiceNotAllowedErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Method Not Allowed
+ "415":
+ content:
+ application/json:
+ examples:
+ tooManyRequestsErrorExample:
+ $ref: '#/components/examples/voiceUnsupportedMediaTypeErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Unsupported Media Type
+ "429":
+ content:
+ application/json:
+ examples:
+ tooManyRequestsErrorExample:
+ $ref: '#/components/examples/voiceTooManyRequestsErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Too Many Requests
+ headers:
+ Retry-After:
+ description: When you should try your request again.
+ explode: false
+ schema:
+ type: string
+ style: simple
+ "500":
+ content:
+ application/json:
+ examples:
+ internalServerErrorExample:
+ $ref: '#/components/examples/voiceInternalServerErrorExample'
+ schema:
+ $ref: '#/components/schemas/voiceApiError'
+ description: Internal Server Error
+ summary: Retrieve a specific transcription
+ tags:
+ - Transcriptions
+ servers:
+ - description: Production
+ url: https://voice.bandwidth.com/api/v2
/accounts/{accountId}/code/voice:
post:
description: Send an MFA Code via a phone call.
@@ -4231,6 +4590,7 @@ components:
answerMethod: POST
answerUrl: https://myServer.example/bandwidth/webhooks/answer
answerFallbackMethod: POST
+ answerFallbackUrl: https://myServer.example/bandwidth/webhooks/answerFallback
disconnectMethod: POST
disconnectUrl: https://myServer.example/bandwidth/webhooks/disconnect
username: mySecretUsername
@@ -4642,6 +5002,16 @@ components:
schema:
type: string
style: simple
+ transcriptionId:
+ description: Programmable Voice API Transcription ID.
+ example: t-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
+ explode: false
+ in: path
+ name: transcriptionId
+ required: true
+ schema:
+ type: string
+ style: simple
to:
description: Filter results by the `to` field.
example: '%2b19195551234'
@@ -5235,12 +5605,26 @@ components:
format: binary
type: string
description: Media found
+ getRecordingTranscriptionResponse:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/recordingTranscriptions'
+ description: Transcription found.
+ listTranscriptionsResponse:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/callTranscriptionMetadataList'
+ description: Transcription found.
getCallTranscriptionResponse:
content:
application/json:
schema:
- $ref: '#/components/schemas/transcriptionList'
- description: Transcription found
+ $ref: '#/components/schemas/callTranscriptionResponse'
+ description: Transcription found.
+ deleteCallTranscriptionResponse:
+ description: Transcription data was deleted.
listConferencesResponse:
content:
application/json:
@@ -5897,8 +6281,13 @@ components:
type: array
uniqueItems: true
from:
- description: One of your telephone numbers the message should come from
- in E164 format.
+ description: "Either an alphanumeric sender ID or the sender's Bandwidth\
+ \ phone number in E.164 format, which must be hosted within Bandwidth\
+ \ and linked to the account that is generating the message. \nAlphanumeric\
+ \ Sender IDs can contain up to 11 characters, upper-case letters A-Z,\
+ \ lower-case letters a-z, numbers 0-9, space, hyphen -, plus +, underscore\
+ \ _ and ampersand &. Alphanumeric Sender IDs must contain at least one\
+ \ letter."
example: "+15551113333"
type: string
text:
@@ -6373,14 +6762,20 @@ components:
from:
description: |-
A Bandwidth phone number on your account the call should come
- from (must be in E.164 format, like `+15555551212`, or be one of the following
- strings: `Restricted`, `Anonymous`, `Private`, or `Unavailable`).
- example: "+19195554321"
+ from (must be in E.164 format, like `+15555551212`) even if `privacy` is set to true.
+ example: "+15555551212"
type: string
+ privacy:
+ description: Hide the calling number. The `displayName` field can be used
+ to customize the displayed name.
+ example: false
+ nullable: true
+ type: boolean
displayName:
description: "The caller display name to use when the call is created. \n\
May not exceed 256 characters nor contain control characters such as new\
- \ lines."
+ \ lines.\nIf `privacy` is true, only the following values are valid: `Restricted`,\
+ \ `Anonymous`, `Private`, or `Unavailable`."
example: John Doe
maxLength: 256
nullable: true
@@ -6670,7 +7065,7 @@ components:
verstat: TN-Verification-Passed
attestationIndicator: A
originatingId: abc123
- from: "19195554321"
+ from: "+19195554321"
startTime: 2022-06-16T13:15:07.16Z
to: "+19195551234"
state: disconnected
@@ -6705,7 +7100,7 @@ components:
from:
description: "The phone number that made the call, in E.164 format (e.g.\
\ +15555555555)."
- example: "19195554321"
+ example: "+19195554321"
type: string
direction:
$ref: '#/components/schemas/callDirectionEnum'
@@ -6913,9 +7308,9 @@ components:
status: completed
parentCallId: c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d
transferCallerId: "+15555555555"
- transferTo: +15555555555)
+ transferTo: "+15555555555"
duration: PT13.67S
- accountId: "920012"
+ accountId: "9900000"
channels: 1
from: "+15555555555"
startTime: 2022-06-17T22:19:40.375Z
@@ -6933,7 +7328,7 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
callId:
description: The call id associated with the event.
@@ -6955,21 +7350,19 @@ components:
example: "+15555555555"
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
transferCallerId:
description: "The phone number used as the from field of the B-leg call,\
- \ in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous,\
- \ Private, or Unavailable."
+ \ in E.164 format (e.g. +15555555555)."
example: "+15555555555"
type: string
transferTo:
description: "The phone number used as the to field of the B-leg call, in\
\ E.164 format (e.g. +15555555555)."
- example: +15555555555)
+ example: "+15555555555"
type: string
duration:
description: The duration of the recording in ISO-8601 format
@@ -7012,7 +7405,7 @@ components:
nullable: true
type: string
transcription:
- $ref: '#/components/schemas/transcriptionMetadata'
+ $ref: '#/components/schemas/recordingTranscriptionMetadata'
type: object
conference:
example:
@@ -7220,7 +7613,7 @@ components:
conferenceRecordingMetadata:
example:
duration: PT13.67S
- accountId: "920012"
+ accountId: "9900000"
channels: 1
mediaUrl: https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/recordings/r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833/media
conferenceId: conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9
@@ -7233,7 +7626,7 @@ components:
properties:
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
conferenceId:
description: "The unique, Bandwidth-generated ID of the conference that\
@@ -7288,8 +7681,11 @@ components:
type: string
type: object
machineDetectionConfiguration:
- description: The machine detection request used to perform machine
- detection on the call.
+ description: "The machine detection request used to perform machine\
+ \ detection on the call. Currently, there is an issue where decimal values\
+ \ are not getting processed correctly. Please use whole number values. We\
+ \ are working to resolve this issue. Please contact Bandwidth Support if you\
+ \ need more information."
properties:
mode:
$ref: '#/components/schemas/machineDetectionModeEnum'
@@ -7450,7 +7846,7 @@ components:
nullable: true
type: boolean
type: object
- transcriptionList:
+ recordingTranscriptions:
example:
transcripts:
- confidence: 0.9
@@ -7463,7 +7859,90 @@ components:
$ref: '#/components/schemas/transcription'
type: array
type: object
- transcriptionMetadata:
+ callTranscriptionMetadataList:
+ example:
+ - transcriptionId: t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b
+ transcriptionUrl: https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-fef240ff-5cfc9091-8069-4863-a8c0-a4dcbbf1f1a4/transcriptions/t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b
+ items:
+ $ref: '#/components/schemas/callTranscriptionMetadata'
+ type: array
+ callTranscriptionMetadata:
+ properties:
+ transcriptionId:
+ description: The programmable voice API transcription ID.
+ example: t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b
+ type: string
+ transcriptionUrl:
+ description: |-
+ A URL that may be used to retrieve the transcription itself. This points to the
+ [Get Call Transcription](/apis/voice/#operation/getCallTranscription) endpoint.
+ example: https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-fef240ff-5cfc9091-8069-4863-a8c0-a4dcbbf1f1a4/transcriptions/t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b
+ type: string
+ type: object
+ callTranscriptionResponse:
+ example:
+ callId: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
+ accountId: "920012"
+ transcriptionId: t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b
+ tracks:
+ - detectedLanguage: en-US
+ track: inbound
+ text: Hello World! This is an example.
+ confidence: 0.9
+ properties:
+ accountId:
+ description: The user account associated with the call.
+ example: "920012"
+ type: string
+ callId:
+ description: The call id associated with the event.
+ example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
+ type: string
+ transcriptionId:
+ description: The programmable voice API transcription ID.
+ example: t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b
+ type: string
+ tracks:
+ example:
+ - detectedLanguage: en-US
+ track: inbound
+ text: Hello World! This is an example.
+ confidence: 0.9
+ items:
+ $ref: '#/components/schemas/callTranscription'
+ type: array
+ type: object
+ callTranscription:
+ properties:
+ detectedLanguage:
+ description: The detected language for this transcription.
+ enum:
+ - en-US
+ - es-US
+ - fr-FR
+ example: en-US
+ type: string
+ track:
+ description: Which `track` this transcription is derived from.
+ enum:
+ - inbound
+ - outbound
+ example: inbound
+ type: string
+ transcript:
+ description: The transcription itself.
+ example: Hello World! This is an example.
+ type: string
+ confidence:
+ description: How confident the transcription engine was in transcribing
+ the associated audio (from `0` to `1`).
+ example: 0.9
+ format: double
+ maximum: 1
+ minimum: 0
+ type: number
+ type: object
+ recordingTranscriptionMetadata:
description: "If the recording was transcribed, metadata about the transcription"
example:
completedTime: 2022-06-13T18:46:29.715Z
@@ -7527,16 +8006,15 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
applicationId:
description: The id of the application associated with the call.
example: 04e88489-df02-4e34-a0ee-27a91849555f
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -7606,16 +8084,15 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
applicationId:
description: The id of the application associated with the call.
example: 04e88489-df02-4e34-a0ee-27a91849555f
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -7700,16 +8177,15 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
applicationId:
description: The id of the application associated with the call.
example: 04e88489-df02-4e34-a0ee-27a91849555f
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -7870,9 +8346,8 @@ components:
example: my-conference-name
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -7926,9 +8401,8 @@ components:
example: my-conference-name
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -8015,7 +8489,7 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
recordingId:
description: The unique ID of this recording
@@ -8087,16 +8561,15 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
applicationId:
description: The id of the application associated with the call.
example: 04e88489-df02-4e34-a0ee-27a91849555f
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -8184,16 +8657,15 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
applicationId:
description: The id of the application associated with the call.
example: 04e88489-df02-4e34-a0ee-27a91849555f
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -8241,14 +8713,13 @@ components:
type: string
transferCallerId:
description: "The phone number used as the from field of the B-leg call,\
- \ in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous,\
- \ Private, or Unavailable."
+ \ in E.164 format (e.g. +15555555555)."
example: "+15555555555"
type: string
transferTo:
description: "The phone number used as the to field of the B-leg call, in\
\ E.164 format (e.g. +15555555555)."
- example: +15555555555)
+ example: "+15555555555"
type: string
tag:
description: "(optional) The tag specified on call creation. If no tag was\
@@ -8279,16 +8750,15 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
applicationId:
description: The id of the application associated with the call.
example: 04e88489-df02-4e34-a0ee-27a91849555f
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -8343,14 +8813,13 @@ components:
type: string
transferCallerId:
description: "The phone number used as the from field of the B-leg call,\
- \ in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous,\
- \ Private, or Unavailable."
+ \ in E.164 format (e.g. +15555555555)."
example: "+15555555555"
type: string
transferTo:
description: "The phone number used as the to field of the B-leg call, in\
\ E.164 format (e.g. +15555555555)."
- example: +15555555555)
+ example: "+15555555555"
type: string
tag:
description: "(optional) The tag specified on call creation. If no tag was\
@@ -8383,16 +8852,15 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
applicationId:
description: The id of the application associated with the call.
example: 04e88489-df02-4e34-a0ee-27a91849555f
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -8444,16 +8912,15 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
applicationId:
description: The id of the application associated with the call.
example: 04e88489-df02-4e34-a0ee-27a91849555f
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -8522,16 +8989,15 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
applicationId:
description: The id of the application associated with the call.
example: 04e88489-df02-4e34-a0ee-27a91849555f
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -8609,14 +9075,13 @@ components:
type: string
transferCallerId:
description: "The phone number used as the from field of the B-leg call,\
- \ in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous,\
- \ Private, or Unavailable."
+ \ in E.164 format (e.g. +15555555555)."
example: "+15555555555"
type: string
transferTo:
description: "The phone number used as the to field of the B-leg call, in\
\ E.164 format (e.g. +15555555555)."
- example: +15555555555)
+ example: "+15555555555"
type: string
type: object
recordingAvailableCallback:
@@ -8641,16 +9106,15 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
applicationId:
description: The id of the application associated with the call.
example: 04e88489-df02-4e34-a0ee-27a91849555f
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -8709,14 +9173,11 @@ components:
fileFormat:
$ref: '#/components/schemas/fileFormatEnum'
channels:
- description: "The current status of the process. For recording, current\
- \ possible values are 'processing', 'partial', 'complete', 'deleted',\
- \ and 'error'. For transcriptions, current possible values are 'none',\
- \ 'processing', 'available', 'error', 'timeout', 'file-size-too-big',\
- \ and 'file-size-too-small'. Additional states may be added in the future,\
- \ so your application must be tolerant of unknown values."
- example: completed
- type: string
+ description: Always `1` for conference recordings; multi-channel recordings
+ are not supported on conferences.
+ example: 1
+ format: int32
+ type: integer
tag:
description: "(optional) The tag specified on call creation. If no tag was\
\ specified or it was previously cleared, this field will not be present."
@@ -8734,14 +9195,13 @@ components:
type: string
transferCallerId:
description: "The phone number used as the from field of the B-leg call,\
- \ in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous,\
- \ Private, or Unavailable."
+ \ in E.164 format (e.g. +15555555555)."
example: "+15555555555"
type: string
transferTo:
description: "The phone number used as the to field of the B-leg call, in\
\ E.164 format (e.g. +15555555555)."
- example: +15555555555)
+ example: "+15555555555"
type: string
type: object
redirectCallback:
@@ -8766,16 +9226,15 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
applicationId:
description: The id of the application associated with the call.
example: 04e88489-df02-4e34-a0ee-27a91849555f
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -8825,14 +9284,13 @@ components:
type: string
transferCallerId:
description: "The phone number used as the from field of the B-leg call,\
- \ in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous,\
- \ Private, or Unavailable."
+ \ in E.164 format (e.g. +15555555555)."
example: "+15555555555"
type: string
transferTo:
description: "The phone number used as the to field of the B-leg call, in\
\ E.164 format (e.g. +15555555555)."
- example: +15555555555)
+ example: "+15555555555"
type: string
type: object
transcriptionAvailableCallback:
@@ -8857,16 +9315,15 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
applicationId:
description: The id of the application associated with the call.
example: 04e88489-df02-4e34-a0ee-27a91849555f
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -8934,14 +9391,13 @@ components:
$ref: '#/components/schemas/transcription'
transferCallerId:
description: "The phone number used as the from field of the B-leg call,\
- \ in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous,\
- \ Private, or Unavailable."
+ \ in E.164 format (e.g. +15555555555)."
example: "+15555555555"
type: string
transferTo:
description: "The phone number used as the to field of the B-leg call, in\
\ E.164 format (e.g. +15555555555)."
- example: +15555555555)
+ example: "+15555555555"
type: string
type: object
transferAnswerCallback:
@@ -8971,16 +9427,15 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
applicationId:
description: The id of the application associated with the call.
example: 04e88489-df02-4e34-a0ee-27a91849555f
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -9024,14 +9479,13 @@ components:
type: string
transferCallerId:
description: "The phone number used as the from field of the B-leg call,\
- \ in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous,\
- \ Private, or Unavailable."
+ \ in E.164 format (e.g. +15555555555)."
example: "+15555555555"
type: string
transferTo:
description: "The phone number used as the to field of the B-leg call, in\
\ E.164 format (e.g. +15555555555)."
- example: +15555555555)
+ example: "+15555555555"
type: string
type: object
transferCompleteCallback:
@@ -9059,16 +9513,15 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
applicationId:
description: The id of the application associated with the call.
example: 04e88489-df02-4e34-a0ee-27a91849555f
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -9112,14 +9565,13 @@ components:
type: string
transferCallerId:
description: "The phone number used as the from field of the B-leg call,\
- \ in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous,\
- \ Private, or Unavailable."
+ \ in E.164 format (e.g. +15555555555)."
example: "+15555555555"
type: string
transferTo:
description: "The phone number used as the to field of the B-leg call, in\
\ E.164 format (e.g. +15555555555)."
- example: +15555555555)
+ example: "+15555555555"
type: string
cause:
description: "Reason the call failed - hangup, busy, timeout, cancel, rejected,\
@@ -9166,16 +9618,15 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
applicationId:
description: The id of the application associated with the call.
example: 04e88489-df02-4e34-a0ee-27a91849555f
type: string
from:
- description: "The provided identifier of the caller: can be a phone number\
- \ in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number
+ in E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
to:
@@ -9230,14 +9681,13 @@ components:
type: string
transferCallerId:
description: "The phone number used as the from field of the B-leg call,\
- \ in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous,\
- \ Private, or Unavailable."
+ \ in E.164 format (e.g. +15555555555)."
example: "+15555555555"
type: string
transferTo:
description: "The phone number used as the to field of the B-leg call, in\
\ E.164 format (e.g. +15555555555)."
- example: +15555555555)
+ example: "+15555555555"
type: string
cause:
description: "Reason the call failed - hangup, busy, timeout, cancel, rejected,\
@@ -9276,7 +9726,7 @@ components:
type: string
accountId:
description: The user account associated with the call.
- example: "920012"
+ example: "9900000"
type: string
applicationId:
description: The id of the application associated with the call.
@@ -9288,9 +9738,8 @@ components:
example: "+15555555555"
type: string
from:
- description: "The provided identifier of the caller: can be a phone number in\
- \ E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable,\
- \ or Anonymous."
+ description: The provided identifier of the caller. Must be a phone number in
+ E.164 format (e.g. +15555555555).
example: "+15555555555"
type: string
conferenceId:
@@ -9365,14 +9814,13 @@ components:
type: string
transferCallerId:
description: "The phone number used as the from field of the B-leg call, in\
- \ E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private,\
- \ or Unavailable."
+ \ E.164 format (e.g. +15555555555)."
example: "+15555555555"
type: string
transferTo:
description: "The phone number used as the to field of the B-leg call, in E.164\
\ format (e.g. +15555555555)."
- example: +15555555555)
+ example: "+15555555555"
type: string
mediaUrl:
description: The URL that can be used to download the recording. Only present
@@ -9565,11 +10013,11 @@ components:
type: object
messagingCodeResponse:
example:
- messageId: 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6
+ messageId: 1589228074636lm4k2je7j7jklbn2
properties:
messageId:
description: Messaging API Message ID.
- example: 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6
+ example: 1589228074636lm4k2je7j7jklbn2
type: string
type: object
verifyCodeRequest:
@@ -9783,11 +10231,9 @@ components:
securitySchemes:
Basic:
description: |-
- Basic authentication is a simple authentication scheme built into the
- HTTP protocol. To use it, send your HTTP requests with an Authorization
- header that contains the word Basic followed by a space and a
- base64-encoded string `username:password`Example: `Authorization: Basic
- ZGVtbZpwQDU1dzByZA==`
+ Basic authentication is a simple authentication scheme built into the HTTP protocol. To use it, send your HTTP requests with an `Authorization` header that contains the word `Basic` followed by a space and a Base64-encoded string `username:password`.
+
+ - Example: `Authorization: Basic ZGVtbZpwQDU1dzByZA==`
scheme: basic
type: http
diff --git a/bandwidth.yml b/bandwidth.yml
index 6c9870bd..96bfc9da 100644
--- a/bandwidth.yml
+++ b/bandwidth.yml
@@ -16,6 +16,7 @@ tags:
- name: Conferences
- name: Recordings
- name: Statistics
+ - name: Transcriptions
- name: MFA
- name: Phone Number Lookup
paths:
@@ -962,9 +963,7 @@ paths:
description: >-
Downloads the specified transcription.
-
- If the transcribed recording was multi-channel, then there will be 2
- transcripts.
+ If the recording was multi-channel, then there will be 2 transcripts.
The caller/called party transcript will be the first item while
[``](/docs/voice/bxml/playAudio) and
@@ -974,14 +973,14 @@ paths:
During a [``](/docs/voice/bxml/transfer) the A-leg transcript
will be the first item while the B-leg transcript will be the second
item.
- operationId: getCallTranscription
+ operationId: getRecordingTranscription
parameters:
- $ref: '#/components/parameters/accountId'
- $ref: '#/components/parameters/callId'
- $ref: '#/components/parameters/recordingId'
responses:
'200':
- $ref: '#/components/responses/getCallTranscriptionResponse'
+ $ref: '#/components/responses/getRecordingTranscriptionResponse'
'400':
$ref: '#/components/responses/voiceBadRequestError'
'401':
@@ -1047,7 +1046,7 @@ paths:
transcription will not be accessible anymore. However, it is not deleted
immediately. This deletion process, while transparent and irreversible,
can take an additional 24 to 48 hours.
- operationId: deleteCallTranscription
+ operationId: deleteRecordingTranscription
parameters:
- $ref: '#/components/parameters/accountId'
- $ref: '#/components/parameters/callId'
@@ -1101,6 +1100,108 @@ paths:
'500':
$ref: '#/components/responses/voiceInternalServerError'
servers: *ref_1
+ /accounts/{accountId}/calls/{callId}/transcriptions:
+ get:
+ tags:
+ - Transcriptions
+ summary: Enumerate transcriptions made with StartTranscription
+ description: >-
+ Enumerates the transcriptions created on this call via
+ [startTranscription](/docs/voice/bxml/startTranscription).
+ operationId: listRealTimeTranscriptions
+ parameters:
+ - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/callId'
+ responses:
+ '200':
+ $ref: '#/components/responses/listTranscriptionsResponse'
+ '400':
+ $ref: '#/components/responses/voiceBadRequestError'
+ '401':
+ $ref: '#/components/responses/voiceUnauthorizedError'
+ '403':
+ $ref: '#/components/responses/voiceForbiddenError'
+ '404':
+ $ref: '#/components/responses/voiceNotFoundError'
+ '405':
+ $ref: '#/components/responses/voiceNotAllowedError'
+ '415':
+ $ref: '#/components/responses/voiceUnsupportedMediaTypeError'
+ '429':
+ $ref: '#/components/responses/voiceTooManyRequestsError'
+ '500':
+ $ref: '#/components/responses/voiceInternalServerError'
+ servers: *ref_1
+ /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId}:
+ get:
+ tags:
+ - Transcriptions
+ summary: Retrieve a specific transcription
+ description: >-
+ Retrieve the specified transcription that was created on this call via
+ [startTranscription](/docs/voice/bxml/startTranscription).
+ operationId: getRealTimeTranscription
+ parameters:
+ - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/callId'
+ - $ref: '#/components/parameters/transcriptionId'
+ responses:
+ '200':
+ $ref: '#/components/responses/getCallTranscriptionResponse'
+ '400':
+ $ref: '#/components/responses/voiceBadRequestError'
+ '401':
+ $ref: '#/components/responses/voiceUnauthorizedError'
+ '403':
+ $ref: '#/components/responses/voiceForbiddenError'
+ '404':
+ $ref: '#/components/responses/voiceNotFoundError'
+ '405':
+ $ref: '#/components/responses/voiceNotAllowedError'
+ '415':
+ $ref: '#/components/responses/voiceUnsupportedMediaTypeError'
+ '429':
+ $ref: '#/components/responses/voiceTooManyRequestsError'
+ '500':
+ $ref: '#/components/responses/voiceInternalServerError'
+ delete:
+ tags:
+ - Transcriptions
+ summary: Delete a specific transcription
+ description: >-
+ Delete the specified transcription that was created on this call via
+ [startTranscription](/docs/voice/bxml/startTranscription).
+
+
+ Note: After the deletion is requested and a `200` is returned, the
+ transcription will not be accessible anymore. However, it is not deleted
+ immediately. This deletion process, while transparent and irreversible,
+ can take an additional 24 to 48 hours.
+ operationId: deleteRealTimeTranscription
+ parameters:
+ - $ref: '#/components/parameters/accountId'
+ - $ref: '#/components/parameters/callId'
+ - $ref: '#/components/parameters/transcriptionId'
+ responses:
+ '200':
+ $ref: '#/components/responses/deleteCallTranscriptionResponse'
+ '400':
+ $ref: '#/components/responses/voiceBadRequestError'
+ '401':
+ $ref: '#/components/responses/voiceUnauthorizedError'
+ '403':
+ $ref: '#/components/responses/voiceForbiddenError'
+ '404':
+ $ref: '#/components/responses/voiceNotFoundError'
+ '405':
+ $ref: '#/components/responses/voiceNotAllowedError'
+ '415':
+ $ref: '#/components/responses/voiceUnsupportedMediaTypeError'
+ '429':
+ $ref: '#/components/responses/voiceTooManyRequestsError'
+ '500':
+ $ref: '#/components/responses/voiceInternalServerError'
+ servers: *ref_1
/accounts/{accountId}/code/voice:
post:
tags:
@@ -1547,8 +1648,14 @@ components:
from:
type: string
description: >-
- One of your telephone numbers the message should come from in E164
- format.
+ Either an alphanumeric sender ID or the sender's Bandwidth phone
+ number in E.164 format, which must be hosted within Bandwidth and
+ linked to the account that is generating the message.
+
+ Alphanumeric Sender IDs can contain up to 11 characters, upper-case
+ letters A-Z, lower-case letters a-z, numbers 0-9, space, hyphen -,
+ plus +, underscore _ and ampersand &. Alphanumeric Sender IDs must
+ contain at least one letter.
example: '+15551113333'
text:
type: string
@@ -2045,11 +2152,16 @@ components:
description: >-
A Bandwidth phone number on your account the call should come
- from (must be in E.164 format, like `+15555551212`, or be one of the
- following
-
- strings: `Restricted`, `Anonymous`, `Private`, or `Unavailable`).
- example: '+19195554321'
+ from (must be in E.164 format, like `+15555551212`) even if
+ `privacy` is set to true.
+ example: '+15555551212'
+ privacy:
+ nullable: true
+ type: boolean
+ description: >-
+ Hide the calling number. The `displayName` field can be used to
+ customize the displayed name.
+ example: false
displayName:
nullable: true
type: string
@@ -2058,6 +2170,9 @@ components:
May not exceed 256 characters nor contain control characters such as
new lines.
+
+ If `privacy` is true, only the following values are valid:
+ `Restricted`, `Anonymous`, `Private`, or `Unavailable`.
maxLength: 256
example: John Doe
uui:
@@ -2381,7 +2496,7 @@ components:
description: >-
The phone number that made the call, in E.164 format (e.g.
+15555555555).
- example: '19195554321'
+ example: '+19195554321'
direction:
$ref: '#/components/schemas/callDirectionEnum'
state:
@@ -2671,7 +2786,7 @@ components:
mediaUrl:
$ref: '#/components/schemas/mediaUrl'
transcription:
- $ref: '#/components/schemas/transcriptionMetadata'
+ $ref: '#/components/schemas/recordingTranscriptionMetadata'
conference:
type: object
properties:
@@ -2916,7 +3031,10 @@ components:
description: >-
The machine detection request used to perform machine detection on the
- call.
+ call. Currently, there is an issue where decimal values are not getting
+ processed correctly. Please use whole number values. We are working to
+ resolve this issue. Please contact Bandwidth Support if you need more
+ information.
properties:
mode:
$ref: '#/components/schemas/machineDetectionModeEnum'
@@ -3108,14 +3226,95 @@ components:
Current supported languages are English, French, and Spanish.
default: false
example: true
- transcriptionList:
+ recordingTranscriptions:
type: object
properties:
transcripts:
type: array
items:
$ref: '#/components/schemas/transcription'
- transcriptionMetadata:
+ callTranscriptionMetadataList:
+ type: array
+ items:
+ $ref: '#/components/schemas/callTranscriptionMetadata'
+ example:
+ - transcriptionId: t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b
+ transcriptionUrl: >-
+ https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-fef240ff-5cfc9091-8069-4863-a8c0-a4dcbbf1f1a4/transcriptions/t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b
+ callTranscriptionMetadata:
+ type: object
+ properties:
+ transcriptionId:
+ type: string
+ description: The programmable voice API transcription ID.
+ example: t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b
+ transcriptionUrl:
+ type: string
+ description: >-
+ A URL that may be used to retrieve the transcription itself. This
+ points to the
+
+ [Get Call
+ Transcription](/apis/voice/#operation/getCallTranscription)
+ endpoint.
+ example: >-
+ https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-fef240ff-5cfc9091-8069-4863-a8c0-a4dcbbf1f1a4/transcriptions/t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b
+ callTranscriptionResponse:
+ type: object
+ properties:
+ accountId:
+ type: string
+ description: The user account associated with the call.
+ example: '920012'
+ callId:
+ type: string
+ description: The call id associated with the event.
+ example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
+ transcriptionId:
+ type: string
+ description: The programmable voice API transcription ID.
+ example: t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b
+ tracks:
+ type: array
+ items:
+ $ref: '#/components/schemas/callTranscription'
+ example:
+ - detectedLanguage: en-US
+ track: inbound
+ text: Hello World! This is an example.
+ confidence: 0.9
+ callTranscription:
+ type: object
+ properties:
+ detectedLanguage:
+ type: string
+ enum:
+ - en-US
+ - es-US
+ - fr-FR
+ description: The detected language for this transcription.
+ example: en-US
+ track:
+ type: string
+ enum:
+ - inbound
+ - outbound
+ description: Which `track` this transcription is derived from.
+ example: inbound
+ transcript:
+ type: string
+ description: The transcription itself.
+ example: Hello World! This is an example.
+ confidence:
+ type: number
+ format: double
+ minimum: 0
+ maximum: 1
+ description: >-
+ How confident the transcription engine was in transcribing the
+ associated audio (from `0` to `1`).
+ example: 0.9
+ recordingTranscriptionMetadata:
nullable: true
type: object
description: If the recording was transcribed, metadata about the transcription
@@ -3687,7 +3886,7 @@ components:
fileFormat:
$ref: '#/components/schemas/fileFormatEnum'
channels:
- $ref: '#/components/schemas/status'
+ $ref: '#/components/schemas/channels'
tag:
$ref: '#/components/schemas/tag1'
status:
@@ -3940,7 +4139,7 @@ components:
accountId:
type: string
description: The user account associated with the call.
- example: '920012'
+ example: '9900000'
applicationId:
type: string
description: The id of the application associated with the call.
@@ -3954,9 +4153,8 @@ components:
from:
type: string
description: >-
- The provided identifier of the caller: can be a phone number in E.164
- format (e.g. +15555555555) or one of Private, Restricted, Unavailable,
- or Anonymous.
+ The provided identifier of the caller. Must be a phone number in E.164
+ format (e.g. +15555555555).
example: '+15555555555'
conferenceId:
type: string
@@ -4035,15 +4233,14 @@ components:
type: string
description: >-
The phone number used as the from field of the B-leg call, in E.164
- format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or
- Unavailable.
+ format (e.g. +15555555555).
example: '+15555555555'
transferTo:
type: string
description: >-
The phone number used as the to field of the B-leg call, in E.164 format
(e.g. +15555555555).
- example: +15555555555)
+ example: '+15555555555'
mediaUrl:
nullable: true
type: string
@@ -4254,7 +4451,7 @@ components:
messageId:
type: string
description: Messaging API Message ID.
- example: 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6
+ example: 1589228074636lm4k2je7j7jklbn2
verifyCodeRequest:
type: object
properties:
@@ -4576,12 +4773,26 @@ components:
schema:
type: string
format: binary
+ getRecordingTranscriptionResponse:
+ description: Transcription found.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/recordingTranscriptions'
+ listTranscriptionsResponse:
+ description: Transcription found.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/callTranscriptionMetadataList'
getCallTranscriptionResponse:
- description: Transcription found
+ description: Transcription found.
content:
application/json:
schema:
- $ref: '#/components/schemas/transcriptionList'
+ $ref: '#/components/schemas/callTranscriptionResponse'
+ deleteCallTranscriptionResponse:
+ description: Transcription data was deleted.
listConferencesResponse:
description: Conferences retrieved successfully
content:
@@ -5084,6 +5295,14 @@ components:
type: string
description: Programmable Voice API Conference Member ID.
example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
+ transcriptionId:
+ name: transcriptionId
+ in: path
+ required: true
+ schema:
+ type: string
+ description: Programmable Voice API Transcription ID.
+ example: t-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
to:
name: to
in: query
@@ -5511,12 +5730,14 @@ components:
Basic:
type: http
scheme: basic
- description: |-
+ description: >-
Basic authentication is a simple authentication scheme built into the
- HTTP protocol. To use it, send your HTTP requests with an Authorization
- header that contains the word Basic followed by a space and a
- base64-encoded string `username:password`Example: `Authorization: Basic
- ZGVtbZpwQDU1dzByZA==`
+ HTTP protocol. To use it, send your HTTP requests with an
+ `Authorization` header that contains the word `Basic` followed by a
+ space and a Base64-encoded string `username:password`.
+
+
+ - Example: `Authorization: Basic ZGVtbZpwQDU1dzByZA==`
callbacks:
inboundCallback:
'{inboundCallbackUrl}':
@@ -5566,6 +5787,7 @@ components:
answerMethod: POST
answerUrl: https://myServer.example/bandwidth/webhooks/answer
answerFallbackMethod: POST
+ answerFallbackUrl: https://myServer.example/bandwidth/webhooks/answerFallback
disconnectMethod: POST
disconnectUrl: https://myServer.example/bandwidth/webhooks/disconnect
username: mySecretUsername
diff --git a/docs/AnswerCallback.md b/docs/AnswerCallback.md
index 2fbb57a3..d0a63c97 100644
--- a/docs/AnswerCallback.md
+++ b/docs/AnswerCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**AccountId** | **string** | The user account associated with the call. | [optional]
**ApplicationId** | **string** | The id of the application associated with the call. | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**Direction** | **CallDirectionEnum** | | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
diff --git a/docs/BridgeCompleteCallback.md b/docs/BridgeCompleteCallback.md
index 531471c2..5849cb2b 100644
--- a/docs/BridgeCompleteCallback.md
+++ b/docs/BridgeCompleteCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**AccountId** | **string** | The user account associated with the call. | [optional]
**ApplicationId** | **string** | The id of the application associated with the call. | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**Direction** | **CallDirectionEnum** | | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
diff --git a/docs/BridgeTargetCompleteCallback.md b/docs/BridgeTargetCompleteCallback.md
index b8694669..1bd0ed9a 100644
--- a/docs/BridgeTargetCompleteCallback.md
+++ b/docs/BridgeTargetCompleteCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**AccountId** | **string** | The user account associated with the call. | [optional]
**ApplicationId** | **string** | The id of the application associated with the call. | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**Direction** | **CallDirectionEnum** | | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
diff --git a/docs/CallRecordingMetadata.md b/docs/CallRecordingMetadata.md
index 31332f25..564d0bd6 100644
--- a/docs/CallRecordingMetadata.md
+++ b/docs/CallRecordingMetadata.md
@@ -10,8 +10,8 @@ Name | Type | Description | Notes
**ParentCallId** | **string** | (optional) If the event is related to the B leg of a <Transfer>, the call id of the original call leg that executed the <Transfer>. Otherwise, this field will not be present. | [optional]
**RecordingId** | **string** | The unique ID of this recording | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
-**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
+**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
**TransferTo** | **string** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
**Duration** | **string** | The duration of the recording in ISO-8601 format | [optional]
**Direction** | **CallDirectionEnum** | | [optional]
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
**FileFormat** | **FileFormatEnum** | | [optional]
**Status** | **string** | The current status of the process. For recording, current possible values are 'processing', 'partial', 'complete', 'deleted', and 'error'. For transcriptions, current possible values are 'none', 'processing', 'available', 'error', 'timeout', 'file-size-too-big', and 'file-size-too-small'. Additional states may be added in the future, so your application must be tolerant of unknown values. | [optional]
**MediaUrl** | **string** | The URL that can be used to download the recording. Only present if the recording is finished and may be downloaded. | [optional]
-**Transcription** | [**TranscriptionMetadata**](TranscriptionMetadata.md) | | [optional]
+**Transcription** | [**RecordingTranscriptionMetadata**](RecordingTranscriptionMetadata.md) | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/CallTranscription.md b/docs/CallTranscription.md
new file mode 100644
index 00000000..122d6012
--- /dev/null
+++ b/docs/CallTranscription.md
@@ -0,0 +1,13 @@
+# Bandwidth.Standard.Model.CallTranscription
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DetectedLanguage** | **string** | The detected language for this transcription. | [optional]
+**Track** | **string** | Which `track` this transcription is derived from. | [optional]
+**Transcript** | **string** | The transcription itself. | [optional]
+**Confidence** | **double** | How confident the transcription engine was in transcribing the associated audio (from `0` to `1`). | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/docs/CallTranscriptionMetadata.md b/docs/CallTranscriptionMetadata.md
new file mode 100644
index 00000000..3d600a30
--- /dev/null
+++ b/docs/CallTranscriptionMetadata.md
@@ -0,0 +1,11 @@
+# Bandwidth.Standard.Model.CallTranscriptionMetadata
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**TranscriptionId** | **string** | The programmable voice API transcription ID. | [optional]
+**TranscriptionUrl** | **string** | A URL that may be used to retrieve the transcription itself. This points to the [Get Call Transcription](/apis/voice/#operation/getCallTranscription) endpoint. | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/docs/CallTranscriptionResponse.md b/docs/CallTranscriptionResponse.md
new file mode 100644
index 00000000..dc007e1e
--- /dev/null
+++ b/docs/CallTranscriptionResponse.md
@@ -0,0 +1,13 @@
+# Bandwidth.Standard.Model.CallTranscriptionResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AccountId** | **string** | The user account associated with the call. | [optional]
+**CallId** | **string** | The call id associated with the event. | [optional]
+**TranscriptionId** | **string** | The programmable voice API transcription ID. | [optional]
+**Tracks** | [**List<CallTranscription>**](CallTranscription.md) | | [optional]
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
diff --git a/docs/ConferenceMemberExitCallback.md b/docs/ConferenceMemberExitCallback.md
index c5d6190c..a871edd8 100644
--- a/docs/ConferenceMemberExitCallback.md
+++ b/docs/ConferenceMemberExitCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**ConferenceId** | **string** | The unique, Bandwidth-generated ID of the conference that was recorded | [optional]
**Name** | **string** | The user-specified name of the conference that was recorded | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
**Tag** | **string** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional]
diff --git a/docs/ConferenceMemberJoinCallback.md b/docs/ConferenceMemberJoinCallback.md
index f20d7c6f..b8a9b355 100644
--- a/docs/ConferenceMemberJoinCallback.md
+++ b/docs/ConferenceMemberJoinCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**ConferenceId** | **string** | The unique, Bandwidth-generated ID of the conference that was recorded | [optional]
**Name** | **string** | The user-specified name of the conference that was recorded | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
**Tag** | **string** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional]
diff --git a/docs/CreateCall.md b/docs/CreateCall.md
index a59ef116..37b06e59 100644
--- a/docs/CreateCall.md
+++ b/docs/CreateCall.md
@@ -5,8 +5,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**To** | **string** | The destination to call (must be an E.164 formatted number (e.g. `+15555551212`) or a SIP URI (e.g. `sip:user@server.example`)). |
-**From** | **string** | A Bandwidth phone number on your account the call should come from (must be in E.164 format, like `+15555551212`, or be one of the following strings: `Restricted`, `Anonymous`, `Private`, or `Unavailable`). |
-**DisplayName** | **string** | The caller display name to use when the call is created. May not exceed 256 characters nor contain control characters such as new lines. | [optional]
+**From** | **string** | A Bandwidth phone number on your account the call should come from (must be in E.164 format, like `+15555551212`) even if `privacy` is set to true. |
+**Privacy** | **bool?** | Hide the calling number. The `displayName` field can be used to customize the displayed name. | [optional]
+**DisplayName** | **string** | The caller display name to use when the call is created. May not exceed 256 characters nor contain control characters such as new lines. If `privacy` is true, only the following values are valid: `Restricted`, `Anonymous`, `Private`, or `Unavailable`. | [optional]
**Uui** | **string** | A comma-separated list of 'User-To-User' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an 'encoding' parameter as described in <a href='https://tools.ietf.org/html/rfc7433'>RFC 7433</a>. Only 'jwt' and 'base64' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. | [optional]
**ApplicationId** | **string** | The id of the application associated with the `from` number. |
**AnswerUrl** | **string** | The full URL to send the <a href='/docs/voice/webhooks/answer'>Answer</a> event to when the called party answers. This endpoint should return the first <a href='/docs/voice/bxml'>BXML document</a> to be executed in the call. Must use `https` if specifying `username` and `password`. |
diff --git a/docs/DisconnectCallback.md b/docs/DisconnectCallback.md
index 1d46a773..b924fd61 100644
--- a/docs/DisconnectCallback.md
+++ b/docs/DisconnectCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**AccountId** | **string** | The user account associated with the call. | [optional]
**ApplicationId** | **string** | The id of the application associated with the call. | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
**Direction** | **CallDirectionEnum** | | [optional]
diff --git a/docs/DtmfCallback.md b/docs/DtmfCallback.md
index 60dfa82d..f6855d04 100644
--- a/docs/DtmfCallback.md
+++ b/docs/DtmfCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**AccountId** | **string** | The user account associated with the call. | [optional]
**ApplicationId** | **string** | The id of the application associated with the call. | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
**Direction** | **CallDirectionEnum** | | [optional]
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
**StartTime** | **DateTime** | Time the call was started, in ISO 8601 format. | [optional]
**AnswerTime** | **DateTime?** | Time the call was answered, in ISO 8601 format. | [optional]
**ParentCallId** | **string** | (optional) If the event is related to the B leg of a <Transfer>, the call id of the original call leg that executed the <Transfer>. Otherwise, this field will not be present. | [optional]
-**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional]
+**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
**TransferTo** | **string** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
**Tag** | **string** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional]
diff --git a/docs/GatherCallback.md b/docs/GatherCallback.md
index 9f47df60..6eecca85 100644
--- a/docs/GatherCallback.md
+++ b/docs/GatherCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**AccountId** | **string** | The user account associated with the call. | [optional]
**ApplicationId** | **string** | The id of the application associated with the call. | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**Direction** | **CallDirectionEnum** | | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
@@ -20,7 +20,7 @@ Name | Type | Description | Notes
**AnswerTime** | **DateTime?** | Time the call was answered, in ISO 8601 format. | [optional]
**ParentCallId** | **string** | (optional) If the event is related to the B leg of a <Transfer>, the call id of the original call leg that executed the <Transfer>. Otherwise, this field will not be present. | [optional]
**TerminatingDigit** | **string** | (optional) The digit the user pressed to end the gather. Empty string value if no terminating digit was pressed. | [optional]
-**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional]
+**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
**TransferTo** | **string** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
**Tag** | **string** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional]
diff --git a/docs/InitiateCallback.md b/docs/InitiateCallback.md
index 9a0fcc22..e0be6d59 100644
--- a/docs/InitiateCallback.md
+++ b/docs/InitiateCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**AccountId** | **string** | The user account associated with the call. | [optional]
**ApplicationId** | **string** | The id of the application associated with the call. | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**Direction** | **CallDirectionEnum** | | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
diff --git a/docs/MachineDetectionCompleteCallback.md b/docs/MachineDetectionCompleteCallback.md
index 7f6852a5..bbc54e46 100644
--- a/docs/MachineDetectionCompleteCallback.md
+++ b/docs/MachineDetectionCompleteCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**AccountId** | **string** | The user account associated with the call. | [optional]
**ApplicationId** | **string** | The id of the application associated with the call. | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**Direction** | **CallDirectionEnum** | | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
diff --git a/docs/MachineDetectionConfiguration.md b/docs/MachineDetectionConfiguration.md
index 0a3cf8ba..79bec22d 100644
--- a/docs/MachineDetectionConfiguration.md
+++ b/docs/MachineDetectionConfiguration.md
@@ -1,5 +1,5 @@
# Bandwidth.Standard.Model.MachineDetectionConfiguration
-The machine detection request used to perform machine detection on the call.
+The machine detection request used to perform machine detection on the call. Currently, there is an issue where decimal values are not getting processed correctly. Please use whole number values. We are working to resolve this issue. Please contact Bandwidth Support if you need more information.
## Properties
diff --git a/docs/MessageRequest.md b/docs/MessageRequest.md
index 13d264db..5a4a0f23 100644
--- a/docs/MessageRequest.md
+++ b/docs/MessageRequest.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ApplicationId** | **string** | The ID of the Application your from number is associated with in the Bandwidth Phone Number Dashboard. |
**To** | **List<string>** | The phone number(s) the message should be sent to in E164 format. |
-**From** | **string** | One of your telephone numbers the message should come from in E164 format. |
+**From** | **string** | Either an alphanumeric sender ID or the sender's Bandwidth phone number in E.164 format, which must be hosted within Bandwidth and linked to the account that is generating the message. Alphanumeric Sender IDs can contain up to 11 characters, upper-case letters A-Z, lower-case letters a-z, numbers 0-9, space, hyphen -, plus +, underscore _ and ampersand &. Alphanumeric Sender IDs must contain at least one letter. |
**Text** | **string** | The contents of the text message. Must be 2048 characters or less. | [optional]
**Media** | **List<string>** | A list of URLs to include as media attachments as part of the message. Each URL can be at most 4096 characters. | [optional]
**Tag** | **string** | A custom string that will be included in callback events of the message. Max 1024 characters. | [optional]
diff --git a/docs/RecordingAvailableCallback.md b/docs/RecordingAvailableCallback.md
index 6368b64b..5c75248a 100644
--- a/docs/RecordingAvailableCallback.md
+++ b/docs/RecordingAvailableCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**AccountId** | **string** | The user account associated with the call. | [optional]
**ApplicationId** | **string** | The id of the application associated with the call. | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**Direction** | **CallDirectionEnum** | | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
@@ -22,10 +22,10 @@ Name | Type | Description | Notes
**EndTime** | **DateTime** | The time that the recording ended in ISO-8601 format | [optional]
**Duration** | **string** | The duration of the recording in ISO-8601 format | [optional]
**FileFormat** | **FileFormatEnum** | | [optional]
-**Channels** | **string** | The current status of the process. For recording, current possible values are 'processing', 'partial', 'complete', 'deleted', and 'error'. For transcriptions, current possible values are 'none', 'processing', 'available', 'error', 'timeout', 'file-size-too-big', and 'file-size-too-small'. Additional states may be added in the future, so your application must be tolerant of unknown values. | [optional]
+**Channels** | **int** | Always `1` for conference recordings; multi-channel recordings are not supported on conferences. | [optional]
**Tag** | **string** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional]
**Status** | **string** | The current status of the process. For recording, current possible values are 'processing', 'partial', 'complete', 'deleted', and 'error'. For transcriptions, current possible values are 'none', 'processing', 'available', 'error', 'timeout', 'file-size-too-big', and 'file-size-too-small'. Additional states may be added in the future, so your application must be tolerant of unknown values. | [optional]
-**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional]
+**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
**TransferTo** | **string** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/RecordingCompleteCallback.md b/docs/RecordingCompleteCallback.md
index 6319ede8..f2242b41 100644
--- a/docs/RecordingCompleteCallback.md
+++ b/docs/RecordingCompleteCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**AccountId** | **string** | The user account associated with the call. | [optional]
**ApplicationId** | **string** | The id of the application associated with the call. | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**Direction** | **CallDirectionEnum** | | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
@@ -25,7 +25,7 @@ Name | Type | Description | Notes
**FileFormat** | **FileFormatEnum** | | [optional]
**Channels** | **int** | Always `1` for conference recordings; multi-channel recordings are not supported on conferences. | [optional]
**Tag** | **string** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional]
-**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional]
+**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
**TransferTo** | **string** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TranscriptionMetadata.md b/docs/RecordingTranscriptionMetadata.md
similarity index 95%
rename from docs/TranscriptionMetadata.md
rename to docs/RecordingTranscriptionMetadata.md
index eb2bfffd..fa0c93a0 100644
--- a/docs/TranscriptionMetadata.md
+++ b/docs/RecordingTranscriptionMetadata.md
@@ -1,4 +1,4 @@
-# Bandwidth.Standard.Model.TranscriptionMetadata
+# Bandwidth.Standard.Model.RecordingTranscriptionMetadata
If the recording was transcribed, metadata about the transcription
## Properties
diff --git a/docs/TranscriptionList.md b/docs/RecordingTranscriptions.md
similarity index 87%
rename from docs/TranscriptionList.md
rename to docs/RecordingTranscriptions.md
index c08cfec6..23a4c666 100644
--- a/docs/TranscriptionList.md
+++ b/docs/RecordingTranscriptions.md
@@ -1,4 +1,4 @@
-# Bandwidth.Standard.Model.TranscriptionList
+# Bandwidth.Standard.Model.RecordingTranscriptions
## Properties
diff --git a/docs/RecordingsApi.md b/docs/RecordingsApi.md
index f42894f9..f45e1514 100644
--- a/docs/RecordingsApi.md
+++ b/docs/RecordingsApi.md
@@ -4,24 +4,24 @@ All URIs are relative to *http://localhost*
| Method | HTTP request | Description |
|--------|--------------|-------------|
-| [**DeleteCallTranscription**](RecordingsApi.md#deletecalltranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Delete Transcription |
| [**DeleteRecording**](RecordingsApi.md#deleterecording) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId} | Delete Recording |
| [**DeleteRecordingMedia**](RecordingsApi.md#deleterecordingmedia) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media | Delete Recording Media |
+| [**DeleteRecordingTranscription**](RecordingsApi.md#deleterecordingtranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Delete Transcription |
| [**DownloadCallRecording**](RecordingsApi.md#downloadcallrecording) | **GET** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media | Download Recording |
| [**GetCallRecording**](RecordingsApi.md#getcallrecording) | **GET** /accounts/{accountId}/calls/{callId}/recordings/{recordingId} | Get Call Recording |
-| [**GetCallTranscription**](RecordingsApi.md#getcalltranscription) | **GET** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Get Transcription |
+| [**GetRecordingTranscription**](RecordingsApi.md#getrecordingtranscription) | **GET** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Get Transcription |
| [**ListAccountCallRecordings**](RecordingsApi.md#listaccountcallrecordings) | **GET** /accounts/{accountId}/recordings | Get Call Recordings |
| [**ListCallRecordings**](RecordingsApi.md#listcallrecordings) | **GET** /accounts/{accountId}/calls/{callId}/recordings | List Call Recordings |
| [**TranscribeCallRecording**](RecordingsApi.md#transcribecallrecording) | **POST** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Create Transcription Request |
| [**UpdateCallRecordingState**](RecordingsApi.md#updatecallrecordingstate) | **PUT** /accounts/{accountId}/calls/{callId}/recording | Update Recording |
-
-# **DeleteCallTranscription**
-> void DeleteCallTranscription (string accountId, string callId, string recordingId)
+
+# **DeleteRecording**
+> void DeleteRecording (string accountId, string callId, string recordingId)
-Delete Transcription
+Delete Recording
-Deletes the specified recording's transcription. Note: After the deletion is requested and a `204` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
+Delete the recording information, media and transcription. Note: After the deletion is requested and a `204` is returned, neither the recording metadata nor the actual media nor its transcription will be accessible anymore. However, the media of the specified recording is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
### Example
```csharp
@@ -33,7 +33,7 @@ using Bandwidth.Standard.Model;
namespace Example
{
- public class DeleteCallTranscriptionExample
+ public class DeleteRecordingExample
{
public static void Main()
{
@@ -50,12 +50,12 @@ namespace Example
try
{
- // Delete Transcription
- apiInstance.DeleteCallTranscription(accountId, callId, recordingId);
+ // Delete Recording
+ apiInstance.DeleteRecording(accountId, callId, recordingId);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling RecordingsApi.DeleteCallTranscription: " + e.Message);
+ Debug.Print("Exception when calling RecordingsApi.DeleteRecording: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -64,18 +64,18 @@ namespace Example
}
```
-#### Using the DeleteCallTranscriptionWithHttpInfo variant
+#### Using the DeleteRecordingWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Delete Transcription
- apiInstance.DeleteCallTranscriptionWithHttpInfo(accountId, callId, recordingId);
+ // Delete Recording
+ apiInstance.DeleteRecordingWithHttpInfo(accountId, callId, recordingId);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling RecordingsApi.DeleteCallTranscriptionWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling RecordingsApi.DeleteRecordingWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -106,7 +106,7 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | The transcription was successfully deleted. | - |
+| **204** | Recording was deleted. | - |
| **400** | Bad Request | - |
| **401** | Unauthorized | - |
| **403** | Forbidden | - |
@@ -118,13 +118,13 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **DeleteRecording**
-> void DeleteRecording (string accountId, string callId, string recordingId)
+
+# **DeleteRecordingMedia**
+> void DeleteRecordingMedia (string accountId, string callId, string recordingId)
-Delete Recording
+Delete Recording Media
-Delete the recording information, media and transcription. Note: After the deletion is requested and a `204` is returned, neither the recording metadata nor the actual media nor its transcription will be accessible anymore. However, the media of the specified recording is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
+Deletes the specified recording's media.
### Example
```csharp
@@ -136,7 +136,7 @@ using Bandwidth.Standard.Model;
namespace Example
{
- public class DeleteRecordingExample
+ public class DeleteRecordingMediaExample
{
public static void Main()
{
@@ -153,12 +153,12 @@ namespace Example
try
{
- // Delete Recording
- apiInstance.DeleteRecording(accountId, callId, recordingId);
+ // Delete Recording Media
+ apiInstance.DeleteRecordingMedia(accountId, callId, recordingId);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling RecordingsApi.DeleteRecording: " + e.Message);
+ Debug.Print("Exception when calling RecordingsApi.DeleteRecordingMedia: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -167,18 +167,18 @@ namespace Example
}
```
-#### Using the DeleteRecordingWithHttpInfo variant
+#### Using the DeleteRecordingMediaWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Delete Recording
- apiInstance.DeleteRecordingWithHttpInfo(accountId, callId, recordingId);
+ // Delete Recording Media
+ apiInstance.DeleteRecordingMediaWithHttpInfo(accountId, callId, recordingId);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling RecordingsApi.DeleteRecordingWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling RecordingsApi.DeleteRecordingMediaWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -209,7 +209,7 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | Recording was deleted. | - |
+| **204** | The recording media was successfully deleted. | - |
| **400** | Bad Request | - |
| **401** | Unauthorized | - |
| **403** | Forbidden | - |
@@ -221,13 +221,13 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **DeleteRecordingMedia**
-> void DeleteRecordingMedia (string accountId, string callId, string recordingId)
+
+# **DeleteRecordingTranscription**
+> void DeleteRecordingTranscription (string accountId, string callId, string recordingId)
-Delete Recording Media
+Delete Transcription
-Deletes the specified recording's media.
+Deletes the specified recording's transcription. Note: After the deletion is requested and a `204` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
### Example
```csharp
@@ -239,7 +239,7 @@ using Bandwidth.Standard.Model;
namespace Example
{
- public class DeleteRecordingMediaExample
+ public class DeleteRecordingTranscriptionExample
{
public static void Main()
{
@@ -256,12 +256,12 @@ namespace Example
try
{
- // Delete Recording Media
- apiInstance.DeleteRecordingMedia(accountId, callId, recordingId);
+ // Delete Transcription
+ apiInstance.DeleteRecordingTranscription(accountId, callId, recordingId);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling RecordingsApi.DeleteRecordingMedia: " + e.Message);
+ Debug.Print("Exception when calling RecordingsApi.DeleteRecordingTranscription: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -270,18 +270,18 @@ namespace Example
}
```
-#### Using the DeleteRecordingMediaWithHttpInfo variant
+#### Using the DeleteRecordingTranscriptionWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
- // Delete Recording Media
- apiInstance.DeleteRecordingMediaWithHttpInfo(accountId, callId, recordingId);
+ // Delete Transcription
+ apiInstance.DeleteRecordingTranscriptionWithHttpInfo(accountId, callId, recordingId);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling RecordingsApi.DeleteRecordingMediaWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling RecordingsApi.DeleteRecordingTranscriptionWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -312,7 +312,7 @@ void (empty response body)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **204** | The recording media was successfully deleted. | - |
+| **204** | The transcription was successfully deleted. | - |
| **400** | Bad Request | - |
| **401** | Unauthorized | - |
| **403** | Forbidden | - |
@@ -538,13 +538,13 @@ catch (ApiException e)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **GetCallTranscription**
-> TranscriptionList GetCallTranscription (string accountId, string callId, string recordingId)
+
+# **GetRecordingTranscription**
+> RecordingTranscriptions GetRecordingTranscription (string accountId, string callId, string recordingId)
Get Transcription
-Downloads the specified transcription. If the transcribed recording was multi-channel, then there will be 2 transcripts. The caller/called party transcript will be the first item while [``](/docs/voice/bxml/playAudio) and [``](/docs/voice/bxml/speakSentence) transcript will be the second item. During a [``](/docs/voice/bxml/transfer) the A-leg transcript will be the first item while the B-leg transcript will be the second item.
+Downloads the specified transcription. If the recording was multi-channel, then there will be 2 transcripts. The caller/called party transcript will be the first item while [``](/docs/voice/bxml/playAudio) and [``](/docs/voice/bxml/speakSentence) transcript will be the second item. During a [``](/docs/voice/bxml/transfer) the A-leg transcript will be the first item while the B-leg transcript will be the second item.
### Example
```csharp
@@ -556,7 +556,7 @@ using Bandwidth.Standard.Model;
namespace Example
{
- public class GetCallTranscriptionExample
+ public class GetRecordingTranscriptionExample
{
public static void Main()
{
@@ -574,12 +574,12 @@ namespace Example
try
{
// Get Transcription
- TranscriptionList result = apiInstance.GetCallTranscription(accountId, callId, recordingId);
+ RecordingTranscriptions result = apiInstance.GetRecordingTranscription(accountId, callId, recordingId);
Debug.WriteLine(result);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling RecordingsApi.GetCallTranscription: " + e.Message);
+ Debug.Print("Exception when calling RecordingsApi.GetRecordingTranscription: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -588,21 +588,21 @@ namespace Example
}
```
-#### Using the GetCallTranscriptionWithHttpInfo variant
+#### Using the GetRecordingTranscriptionWithHttpInfo variant
This returns an ApiResponse object which contains the response data, status code and headers.
```csharp
try
{
// Get Transcription
- ApiResponse response = apiInstance.GetCallTranscriptionWithHttpInfo(accountId, callId, recordingId);
+ ApiResponse response = apiInstance.GetRecordingTranscriptionWithHttpInfo(accountId, callId, recordingId);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
- Debug.Print("Exception when calling RecordingsApi.GetCallTranscriptionWithHttpInfo: " + e.Message);
+ Debug.Print("Exception when calling RecordingsApi.GetRecordingTranscriptionWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
@@ -618,7 +618,7 @@ catch (ApiException e)
### Return type
-[**TranscriptionList**](TranscriptionList.md)
+[**RecordingTranscriptions**](RecordingTranscriptions.md)
### Authorization
@@ -633,7 +633,7 @@ catch (ApiException e)
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Transcription found | - |
+| **200** | Transcription found. | - |
| **400** | Bad Request | - |
| **401** | Unauthorized | - |
| **403** | Forbidden | - |
diff --git a/docs/RedirectCallback.md b/docs/RedirectCallback.md
index d0c0f246..398359f5 100644
--- a/docs/RedirectCallback.md
+++ b/docs/RedirectCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**AccountId** | **string** | The user account associated with the call. | [optional]
**ApplicationId** | **string** | The id of the application associated with the call. | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**Direction** | **CallDirectionEnum** | | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
**StartTime** | **DateTime** | Time the call was started, in ISO 8601 format. | [optional]
**AnswerTime** | **DateTime?** | Time the call was answered, in ISO 8601 format. | [optional]
**Tag** | **string** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional]
-**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional]
+**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
**TransferTo** | **string** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TranscriptionAvailableCallback.md b/docs/TranscriptionAvailableCallback.md
index 39cc3655..911f5fc7 100644
--- a/docs/TranscriptionAvailableCallback.md
+++ b/docs/TranscriptionAvailableCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**AccountId** | **string** | The user account associated with the call. | [optional]
**ApplicationId** | **string** | The id of the application associated with the call. | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**Direction** | **CallDirectionEnum** | | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
**FileFormat** | **FileFormatEnum** | | [optional]
**Tag** | **string** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional]
**Transcription** | [**Transcription**](Transcription.md) | | [optional]
-**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional]
+**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
**TransferTo** | **string** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TranscriptionsApi.md b/docs/TranscriptionsApi.md
new file mode 100644
index 00000000..8728d474
--- /dev/null
+++ b/docs/TranscriptionsApi.md
@@ -0,0 +1,325 @@
+# Bandwidth.Standard.Api.TranscriptionsApi
+
+All URIs are relative to *http://localhost*
+
+| Method | HTTP request | Description |
+|--------|--------------|-------------|
+| [**DeleteRealTimeTranscription**](TranscriptionsApi.md#deleterealtimetranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Delete a specific transcription |
+| [**GetRealTimeTranscription**](TranscriptionsApi.md#getrealtimetranscription) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Retrieve a specific transcription |
+| [**ListRealTimeTranscriptions**](TranscriptionsApi.md#listrealtimetranscriptions) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions | Enumerate transcriptions made with StartTranscription |
+
+
+# **DeleteRealTimeTranscription**
+> void DeleteRealTimeTranscription (string accountId, string callId, string transcriptionId)
+
+Delete a specific transcription
+
+Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Bandwidth.Standard.Api;
+using Bandwidth.Standard.Client;
+using Bandwidth.Standard.Model;
+
+namespace Example
+{
+ public class DeleteRealTimeTranscriptionExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure HTTP basic authorization: Basic
+ config.Username = "YOUR_USERNAME";
+ config.Password = "YOUR_PASSWORD";
+
+ var apiInstance = new TranscriptionsApi(config);
+ var accountId = 9900000; // string | Your Bandwidth Account ID.
+ var callId = c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85; // string | Programmable Voice API Call ID.
+ var transcriptionId = t-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85; // string | Programmable Voice API Transcription ID.
+
+ try
+ {
+ // Delete a specific transcription
+ apiInstance.DeleteRealTimeTranscription(accountId, callId, transcriptionId);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling TranscriptionsApi.DeleteRealTimeTranscription: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the DeleteRealTimeTranscriptionWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Delete a specific transcription
+ apiInstance.DeleteRealTimeTranscriptionWithHttpInfo(accountId, callId, transcriptionId);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling TranscriptionsApi.DeleteRealTimeTranscriptionWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **accountId** | **string** | Your Bandwidth Account ID. | |
+| **callId** | **string** | Programmable Voice API Call ID. | |
+| **transcriptionId** | **string** | Programmable Voice API Transcription ID. | |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[Basic](../README.md#Basic)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Transcription data was deleted. | - |
+| **400** | Bad Request | - |
+| **401** | Unauthorized | - |
+| **403** | Forbidden | - |
+| **404** | Not Found | - |
+| **405** | Method Not Allowed | - |
+| **415** | Unsupported Media Type | - |
+| **429** | Too Many Requests | * Retry-After - When you should try your request again. |
+| **500** | Internal Server Error | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **GetRealTimeTranscription**
+> CallTranscriptionResponse GetRealTimeTranscription (string accountId, string callId, string transcriptionId)
+
+Retrieve a specific transcription
+
+Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Bandwidth.Standard.Api;
+using Bandwidth.Standard.Client;
+using Bandwidth.Standard.Model;
+
+namespace Example
+{
+ public class GetRealTimeTranscriptionExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure HTTP basic authorization: Basic
+ config.Username = "YOUR_USERNAME";
+ config.Password = "YOUR_PASSWORD";
+
+ var apiInstance = new TranscriptionsApi(config);
+ var accountId = 9900000; // string | Your Bandwidth Account ID.
+ var callId = c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85; // string | Programmable Voice API Call ID.
+ var transcriptionId = t-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85; // string | Programmable Voice API Transcription ID.
+
+ try
+ {
+ // Retrieve a specific transcription
+ CallTranscriptionResponse result = apiInstance.GetRealTimeTranscription(accountId, callId, transcriptionId);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling TranscriptionsApi.GetRealTimeTranscription: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the GetRealTimeTranscriptionWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Retrieve a specific transcription
+ ApiResponse response = apiInstance.GetRealTimeTranscriptionWithHttpInfo(accountId, callId, transcriptionId);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling TranscriptionsApi.GetRealTimeTranscriptionWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **accountId** | **string** | Your Bandwidth Account ID. | |
+| **callId** | **string** | Programmable Voice API Call ID. | |
+| **transcriptionId** | **string** | Programmable Voice API Transcription ID. | |
+
+### Return type
+
+[**CallTranscriptionResponse**](CallTranscriptionResponse.md)
+
+### Authorization
+
+[Basic](../README.md#Basic)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Transcription found. | - |
+| **400** | Bad Request | - |
+| **401** | Unauthorized | - |
+| **403** | Forbidden | - |
+| **404** | Not Found | - |
+| **405** | Method Not Allowed | - |
+| **415** | Unsupported Media Type | - |
+| **429** | Too Many Requests | * Retry-After - When you should try your request again. |
+| **500** | Internal Server Error | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+
+# **ListRealTimeTranscriptions**
+> List<CallTranscriptionMetadata> ListRealTimeTranscriptions (string accountId, string callId)
+
+Enumerate transcriptions made with StartTranscription
+
+Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
+
+### Example
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using Bandwidth.Standard.Api;
+using Bandwidth.Standard.Client;
+using Bandwidth.Standard.Model;
+
+namespace Example
+{
+ public class ListRealTimeTranscriptionsExample
+ {
+ public static void Main()
+ {
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure HTTP basic authorization: Basic
+ config.Username = "YOUR_USERNAME";
+ config.Password = "YOUR_PASSWORD";
+
+ var apiInstance = new TranscriptionsApi(config);
+ var accountId = 9900000; // string | Your Bandwidth Account ID.
+ var callId = c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85; // string | Programmable Voice API Call ID.
+
+ try
+ {
+ // Enumerate transcriptions made with StartTranscription
+ List result = apiInstance.ListRealTimeTranscriptions(accountId, callId);
+ Debug.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling TranscriptionsApi.ListRealTimeTranscriptions: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+ }
+ }
+}
+```
+
+#### Using the ListRealTimeTranscriptionsWithHttpInfo variant
+This returns an ApiResponse object which contains the response data, status code and headers.
+
+```csharp
+try
+{
+ // Enumerate transcriptions made with StartTranscription
+ ApiResponse> response = apiInstance.ListRealTimeTranscriptionsWithHttpInfo(accountId, callId);
+ Debug.Write("Status Code: " + response.StatusCode);
+ Debug.Write("Response Headers: " + response.Headers);
+ Debug.Write("Response Body: " + response.Data);
+}
+catch (ApiException e)
+{
+ Debug.Print("Exception when calling TranscriptionsApi.ListRealTimeTranscriptionsWithHttpInfo: " + e.Message);
+ Debug.Print("Status Code: " + e.ErrorCode);
+ Debug.Print(e.StackTrace);
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------|------|-------------|-------|
+| **accountId** | **string** | Your Bandwidth Account ID. | |
+| **callId** | **string** | Programmable Voice API Call ID. | |
+
+### Return type
+
+[**List<CallTranscriptionMetadata>**](CallTranscriptionMetadata.md)
+
+### Authorization
+
+[Basic](../README.md#Basic)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Transcription found. | - |
+| **400** | Bad Request | - |
+| **401** | Unauthorized | - |
+| **403** | Forbidden | - |
+| **404** | Not Found | - |
+| **405** | Method Not Allowed | - |
+| **415** | Unsupported Media Type | - |
+| **429** | Too Many Requests | * Retry-After - When you should try your request again. |
+| **500** | Internal Server Error | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
diff --git a/docs/TransferAnswerCallback.md b/docs/TransferAnswerCallback.md
index f2c40ad1..67804363 100644
--- a/docs/TransferAnswerCallback.md
+++ b/docs/TransferAnswerCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**AccountId** | **string** | The user account associated with the call. | [optional]
**ApplicationId** | **string** | The id of the application associated with the call. | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**Direction** | **CallDirectionEnum** | | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
**StartTime** | **DateTime** | Time the call was started, in ISO 8601 format. | [optional]
**AnswerTime** | **DateTime?** | Time the call was answered, in ISO 8601 format. | [optional]
**Tag** | **string** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional]
-**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional]
+**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
**TransferTo** | **string** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/TransferCompleteCallback.md b/docs/TransferCompleteCallback.md
index a0b4e5ac..4307fa9b 100644
--- a/docs/TransferCompleteCallback.md
+++ b/docs/TransferCompleteCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**AccountId** | **string** | The user account associated with the call. | [optional]
**ApplicationId** | **string** | The id of the application associated with the call. | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**Direction** | **CallDirectionEnum** | | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
**StartTime** | **DateTime** | Time the call was started, in ISO 8601 format. | [optional]
**AnswerTime** | **DateTime?** | Time the call was answered, in ISO 8601 format. | [optional]
**Tag** | **string** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional]
-**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional]
+**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
**TransferTo** | **string** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
**Cause** | **string** | Reason the call failed - hangup, busy, timeout, cancel, rejected, callback-error, invalid-bxml, application-error, account-limit, node-capacity-exceeded, error, or unknown. | [optional]
**ErrorMessage** | **string** | Text explaining the reason that caused the call to fail in case of errors. | [optional]
diff --git a/docs/TransferDisconnectCallback.md b/docs/TransferDisconnectCallback.md
index 92d88b68..357670b3 100644
--- a/docs/TransferDisconnectCallback.md
+++ b/docs/TransferDisconnectCallback.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**EventTime** | **DateTime** | The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution. | [optional]
**AccountId** | **string** | The user account associated with the call. | [optional]
**ApplicationId** | **string** | The id of the application associated with the call. | [optional]
-**From** | **string** | The provided identifier of the caller: can be a phone number in E.164 format (e.g. +15555555555) or one of Private, Restricted, Unavailable, or Anonymous. | [optional]
+**From** | **string** | The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555). | [optional]
**To** | **string** | The phone number that received the call, in E.164 format (e.g. +15555555555). | [optional]
**Direction** | **CallDirectionEnum** | | [optional]
**CallId** | **string** | The call id associated with the event. | [optional]
@@ -20,7 +20,7 @@ Name | Type | Description | Notes
**AnswerTime** | **DateTime?** | Time the call was answered, in ISO 8601 format. | [optional]
**EndTime** | **DateTime** | The time that the recording ended in ISO-8601 format | [optional]
**Tag** | **string** | (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present. | [optional]
-**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555) or one of Restricted, Anonymous, Private, or Unavailable. | [optional]
+**TransferCallerId** | **string** | The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
**TransferTo** | **string** | The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555). | [optional]
**Cause** | **string** | Reason the call failed - hangup, busy, timeout, cancel, rejected, callback-error, invalid-bxml, application-error, account-limit, node-capacity-exceeded, error, or unknown. | [optional]
**ErrorMessage** | **string** | Text explaining the reason that caused the call to fail in case of errors. | [optional]
diff --git a/src/Bandwidth.Standard.Test/Api/RecordingsApiTests.cs b/src/Bandwidth.Standard.Test/Api/RecordingsApiTests.cs
index 3d66447f..417dfa26 100644
--- a/src/Bandwidth.Standard.Test/Api/RecordingsApiTests.cs
+++ b/src/Bandwidth.Standard.Test/Api/RecordingsApiTests.cs
@@ -61,10 +61,10 @@ public void InstanceTest()
}
///
- /// Test DeleteCallTranscription
+ /// Test DeleteRecordingTranscription
///
[Fact]
- public void DeleteCallTranscriptionTest()
+ public void DeleteRecordingTranscriptionTest()
{
string accountId = "9900000";
string callId = "c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85";
@@ -72,17 +72,17 @@ public void DeleteCallTranscriptionTest()
var apiResponse = new ApiResponse