v1

latestOpenAPI 3.1.02026-07-241360148.9 KB

Call Operations

This API allows you to monitor, whisper, Barge or Transfer a call.

post/v1/call/options

Headers

Authorizationstring required

Request body

typeinteger required

The type of Call Operation to be performed. Available Types are: 1: Monitor, 2: Whisper, 3: Barge, 4: Transfer

agent_idinteger

The unique ID of the agent who can monitor or whisper during the call. You can fetch the agent_id from the agent API, which retrieves the agents details. Also, note that the unique ID is only required in case of the following types: 1 (Monitor), 2 (Whisper), 3(Barge), 4(Transfer).

call_idstring required

The unique ID of the call on which operations need to be performed. For example, 1627373566.350603. You can fetch the call_id from the live calls API, which retrieves the live call details.

intercomstring

The unique intercom number of the agent to whom call would be transfered, only required in case of type: 4 (Transfer)

Response

200

object required