Call Operations

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

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Sample Request

curl --request POST \
     --url https://api-smartflo.tatateleservices.com/v1/call/options \
     --header 'accept: application/json' \
     --header 'content-type: application/json'

📘 Important!

Before we begin, note that the * sign denotes the mandatory variables in each table.

Request Variables (Body Params)

The following parameter is required to monitor or whisper a call.

Variable NameDescriptionData Type
type*Type of Call Operation to be performed. 1: Monitor, 2: Whisper, 3: Barge, 4: TransferInteger
agent_idUnique ID of the Agent who can monitor or whisper during the call is only required in case of type: 1 (Monitor), 2 (Whisper). This can be retrieved from fetch users API - Fetch Multiple Users, Variable name- data[i].agent.id.string
call_id*Unique ID of the call on which operations needs to be performed.string
intercomUnique intercom number of the agent to whom call would be transferred, only required in case of type: 4 (Transfer)array of strings

Use Case Scenarios:

✅ Transfer to Agent's Mobile (e.g., for remote agents)

Enter the 10-digit phone number to transfer the call to the specific agent. The below example code shows transfer based on Number.

{
  "type": "4",
  "call_id": "175XXXX218.8118",
  "intercom": "9196XXX9832"
}

✅ Transfer to Softphone/Extension

Enter the Agent Extension(Softphone) to transfer the call to the specific agent. The below example code shows transfer based on Agent Extension.

{
  "type": "4",
  "call_id": "1758782566.8131",
  "intercom": "0602XXX70085"
}

✅ Transfer to a Department (Smartflo will route based on available agents)

Enter the Department Intercom ID to transfer the call to the Department. The below example code shows a transfer in the Department using the agent number.

{
  "type": "4",
  "call_id": "175XXXX218.8118",
  "intercom": "80XX4"
}

Response Variables

The response returned is as following:

Variable NameDescriptionData Type
SuccessThe request success status, the possible values are: True (default) for success. False for failure.Boolean
MessageThe message corresponding to the success status. For example, in 400 Response where the "success" variable pops as True, the message displayed is shown here.String
Body Params
int32
required

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

int32

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).

string
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.

string

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

Headers
string
required
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json