Fetch recording transcription

GET /2010-04-01/Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions/{Sid}.json

References to text transcriptions of call recordings

Path parameters

  • AccountSid string Required

    The SID of the Account that created the Transcription resource to fetch.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

  • RecordingSid string Required

    The SID of the Recording that created the transcription to fetch.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^RE[0-9a-fA-F]{32}$.

  • Sid string Required

    The Twilio-provided string that uniquely identifies the Transcription resource to fetch.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^TR[0-9a-fA-F]{32}$.

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • account_sid string | null

      The SID of the Account that created the Transcription resource.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • api_version string | null

      The API version used to create the transcription.

    • date_created string(date-time-rfc-2822) | null

      The date and time in GMT that the resource was created specified in RFC 2822 format.

    • date_updated string(date-time-rfc-2822) | null

      The date and time in GMT that the resource was last updated specified in RFC 2822 format.

    • duration string | null

      The duration of the transcribed audio in seconds.

    • price number | null

      The charge for the transcript in the currency associated with the account. This value is populated after the transcript is complete so it may not be available immediately.

    • price_unit string(currency) | null

      The currency in which price is measured, in ISO 4127 format (e.g. usd, eur, jpy).

    • recording_sid string | null

      The SID of the Recording from which the transcription was created.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^RE[0-9a-fA-F]{32}$.

    • sid string | null

      The unique string that that we created to identify the Transcription resource.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^TR[0-9a-fA-F]{32}$.

    • status string

      The status of the transcription. Can be: in-progress, completed, failed.

      Values are in-progress, completed, or failed.

    • transcription_text string | null

      The text content of the transcription.

    • type string | null

      The transcription type.

    • uri string | null

      The URI of the resource, relative to https://api.twilio.com.

GET /2010-04-01/Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions/{Sid}.json
curl \
 --request GET 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions/{Sid}.json' \
 --user "username:password"
Response examples (200)
{
  "sid": "TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Transcriptions/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
  "type": "fast",
  "price": "0.00000",
  "status": "in-progress",
  "duration": "10",
  "price_unit": "USD",
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "api_version": "2008-08-01",
  "date_created": "Mon, 22 Aug 2011 20:58:44 +0000",
  "date_updated": "Mon, 22 Aug 2011 20:58:44 +0000",
  "recording_sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "transcription_text": "THIS IS A TEST"
}