Transcription start
POST/calls/:call_control_id/actions/transcription_start
Start real-time transcription. Transcription will stop on call hang-up, or can be initiated via the Transcription stop command.
Expected Webhooks:
call.transcription
Request
Path Parameters
Unique identifier and token for controlling the call
- application/json
Body
required
Transcription start request
Possible values: [A
, B
]
Default value: A
Engine to use for speech recognition. A
- google
, B
- telnyx
.
Possible values: [de
, en
, es
, fr
, it
, pl
]
Default value: en
Language to use for speech recognition
Whether to send also interim results. If set to false, only final results will be sent. Applies to google
engine only.
Use this field to add state to every subsequent webhook. It must be a valid Base-64 encoded string.
Default value: inbound
Indicates which leg of the call will be transcribed. Use inbound
for the leg that requested the transcription, outbound
for the other leg, and both
for both legs of the call. Will default to inbound
.
Use this field to avoid duplicate commands. Telnyx will ignore any command with the same command_id
for the same call_control_id
.
Responses
200: Successful response upon making a call control command.
- application/json
default: Unexpected error
- application/json