action | Optional URL where TeXML will make a request when the <Record> ends to retrieve a new set of TeXML instructions to continue the call flow sent with additional request parameters. | | - |
method | HTTP request type used to retrieve the next set of instructions. | GET, POST | POST |
finishOnKey | Set of digits specified together, any one of which will end the recording. Supported characters values: Any digit, #, *. | | 1234567890*# |
timeout | The number of seconds that Telnyx will wait for the recording to be stopped if silence is detected. The timer only starts when the speech is detected. Please note that the transcription is used to detect silence and the related charge will be applied. 0 for infinite. | | 0 |
maxLength | Defines the maximum length for the recording in seconds. 0 for infinite. | 0 - 14400 | 3600 |
playBeep | Whether or not a sound is played before the start of a recording. | | true |
trim | Will remove silence from the beginning and end of the recording when set to trim-silence. | trim-silence | - |
channels | When using dual channels, the final audio file will be stereo recorded with the first leg on channel A, and the rest on channel B. | single, dual | dual |
recordingStatusCallback | Optional URL that tells Telnyx where to make its GET or POST request when the recording is available. | | - |
recordingStatusCallbackMethod | HTTP request type used for recordingStatusCallback. | GET, POST | POST |
transcription | Enables automatic transcription of the recorded audio. When set to ‘true’, a transcription will be generated and delivered to the transcriptionCallback URL. | true, false | false |
transcriptionCallback | The URL where Telnyx will send the transcription result once available. | | - |
transcriptionEngine | Specifies the engine to use for transcription. A uses Google (default) and B uses Telnyx. Set to Deepgram to transcribe the recording with Deepgram, optionally pairing it with transcriptionModel to choose a specific Deepgram model. | A, B, Deepgram, deepgram | A |
transcriptionModel | Optional model to use with the specified transcriptionEngine. Format is vendor/model-name — e.g. deepgram/nova-2 or deepgram/nova-3. The vendor must match transcriptionEngine. If not specified, the engine’s default model will be used. On Deepgram, defaults to deepgram/nova-3. See transcription models in transcription_engine_config. | | - |
transcriptionLanguage | Language to use for transcription when transcription is enabled. Use a BCP-47 language tag such as en-US. The set of supported languages depends on the transcriptionEngine and transcriptionModel — see languages in transcription_engine_config. | | en-US |
format | The format of the recording file. | mp3, wav | mp3 |
recordingStatusCallbackEvent | The recording events for which Telnyx should send a webhook to the recordingStatusCallback URL. Multiple events are separated by a space. | in-progress, completed | completed |