Skip to main content
POST
/
v2
/
calling
/
recording
/
toggle
Toggle Recording
curl --request POST \
  --url https://api.voxo.co/v2/calling/recording/toggle \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "callId": "<string>",
  "recording": true
}
'
{
  "callId": "<string>",
  "recording": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
callId
string
required

Active call identifier

Minimum string length: 1
recording
boolean
required

True to start recording, false to stop

Response

Recording state updated

callId
string
required

Active call identifier

recording
boolean
required

Current recording state