Toggle Recording Of Call


This request toggles the recording of the active user call.
The user can start or stop the recording of the selected call.
The id is the call id of the call, which should be available in the sip headers.

Resource

POST /me/calls/<CALL_ID>/toggle_recording

Where 'CALL_ID' is the call ID of the active user call.

Parameters

None

Payload

The new recording state of the user call (true/false).

Response

None

Context

Authorization

User

Errors

HTTP code Xelion code Description

400

10203

The call id is missing.

Example

Request
POST https://xelion.nl/api/v1/master/me/calls/1234345/toggle_recording
Payload
true