Call Operations

Changed on
post/v1/call/options

Request

  • Base URL
    https://api.acefone.in
  • URL
    https://api.acefone.in/v1/call/options
  • Auth
    none required

Headers

Authorizationstring required

Required to authorize the API request.

Request body

typeinteger required

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

agent_idstring

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

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.

ref_idstring

Reference ID returned when the call was initiated. Can be used as an alternative to call_id to identify the active call.

intercomstring

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

Response

200

object required

Changes