Create a Transcription
Create a Transcription
Path parameters
-
The SID of the Account that created this Transcription resource.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^AC[0-9a-fA-F]{32}$
. -
The SID of the Call the Transcription resource is associated with.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^CA[0-9a-fA-F]{32}$
.
Body
-
The user-specified name of this Transcription, if one was given when the Transcription was created. This may be used to stop the Transcription.
-
Values are
inbound_track
,outbound_track
, orboth_tracks
. -
Absolute URL of the status callback.
-
The http method for the status_callback (one of GET, POST).
Values are
GET
orPOST
. -
Friendly name given to the Inbound Track
-
Friendly name given to the Outbound Track
-
Indicates if partial results are going to be sent to the customer
-
Language code used by the transcription engine, specified in BCP-47 format
-
Definition of the transcription engine to be used, among those supported by Twilio
-
indicates if the server will attempt to filter out profanities, replacing all but the initial character in each filtered word with asterisks
-
Recognition model used by the transcription engine, among those supported by the provider
-
A Phrase contains words and phrase "hints" so that the speech recognition engine is more likely to recognize them.
-
The provider will add punctuation to recognition result
-
The SID or unique name of the Intelligence Service for persisting transcripts and running post-call Language Operators .
curl \
--request POST 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Transcriptions.json' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'value=%7B%7D'
{"value"=>{}}
{"Name"=>"myName", "Hints"=>"this is a hint", "Track"=>"inbound_track", "SpeechModel"=>"long", "LanguageCode"=>"en-US", "PartialResults"=>false, "ProfanityFilter"=>false, "InboundTrackLabel"=>"inbound_track_label", "StatusCallbackUrl"=>"http://statuscallback.com", "OutboundTrackLabel"=>"outbound_track_label", "IntelligenceService"=>"GAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "TranscriptionEngine"=>"google", "StatusCallbackMethod"=>"PUT", "EnableAutomaticPunctuation"=>true}
{
"sid": "GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Transcriptions/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
"name": null,
"status": "in-progress",
"call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_updated": "Thu, 30 Jul 2015 20:00:00 +0000"
}
{
"sid": "GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Transcriptions/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
"name": "myName",
"status": "in-progress",
"call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_updated": "Thu, 30 Jul 2015 20:00:00 +0000"
}