Call Commands
Recording start
Start recording the call. Recording will stop on call hang-up, or can be initiated via the Stop Recording command.
Expected Webhooks:
- call.recording.saved
- call.recording.transcription.saved
- call.recording.error
post/calls/{call_control_id}/actions/record_start
Path parameters
call_control_idstring required
Unique identifier and token for controlling the call
Request body
Example request
{
"channels": "single",
"client_state": "aGF2ZSBhIG5pY2UgZGF5ID1d",
"command_id": "891510ac-f3e4-11e8-af5b-de00688a4901",
"format": "wav",
"max_length": 0,
"play_beep": true,
"timeout_secs": 0,
"transcription": true,
"transcription_engine": "B",
"transcription_language": "en"
}Response
Successful response upon making a call control command.
Example response
{
"data": {
"result": "ok"
}
}