Sample - Twilio API
POST/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Transcriptions/{Sid}.json

Stop a real-time transcription

Stops a real-time transcription associated with a call. Identify the transcription with Sid, using either its transcription SID or the name supplied when it was created. Send Status as stopped to end transcription processing.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters · 1 body field
AccountSidstringrequired
The account SID that created the transcription. Must be a 34-character value matching `^AC[0-9a-fA-F]{32}$`.
CallSidstringrequired
The call SID associated with the transcription. Must be a 34-character value matching `^CA[0-9a-fA-F]{32}$`.
Sidstringrequired
The transcription SID or the name assigned when the transcription was created.

The state change that stops the real-time transcription.

Statusstringrequired
The required transcription state. Must be `stopped`.
Allowed:stopped

1 status code
200Returns the stopped transcription object with its transcription SID, account SID, associated call SID, name, stopped status, update timestamp, and resource URI.
sidstringoptional
The SID of the Transcription resource.
account_sidstringoptional
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Transcription resource.
call_sidstringoptional
The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Transcription resource is associated with.
namestringoptional
The user-specified name of this Transcription, if one was given when the Transcription was created. This may be used to stop the Transcription.
statusstringoptional
The status - one of `stopped`, `in-flight`
Allowed:in-progressstopped
date_updatedstringoptional
The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
uristringoptional

Error handling

AccountSid must be a 34-character account SID and CallSid must be a 34-character call SID using the documented prefixes. Status is required and must be stopped; Sid must identify the transcription SID or its creation-time name.