Record
RecordAction records the caller's audio and posts the recording URL to the Action callback when finished.
RecordAction records the caller's audio and posts the recording URL to the Action callback when finished.
| Parameter | Type | JSON key | Required | Description |
|---|---|---|---|---|
Action | string | action | No | Action is the URL Sautikit POSTs the recording to. Optional. |
Method | string | method | No | Method is the HTTP verb for Action ("GET" or "POST"). Default "POST". |
Timeout | int | timeout | No | Timeout is the number of silence seconds after which recording stops. |
MaxLength | int | maxLength | No | MaxLength is the maximum recording length in seconds. |
FinishOnKey | string | finishOnKey | No | FinishOnKey is the DTMF digit that stops recording early. |
Transcribe | bool | transcribe | No | Transcribe requests speech-to-text on the recording. Default false. |
TranscribeCallback | string | transcribeCallback | No | TranscribeCallback is the URL posted when transcription is ready. |
{"actions":[{"record":{}}]}<Record maxLength="60" finishOnKey="#" playBeep="true" trim="trim-silence" />