v1

latestOpenAPI 3.0.32026-07-24156161.2 MB
Click2Call

Call

Click2Call

Click2Call will initiate a call to the agent's extension. After the agent answers, we will initiate a call to your destination according to your outbound routing setups.

Path Parameters

  • c2c_id (string): The unique identifier for your c2c setup.

  • leg_a (string): Agent extension (caller)

  • leg_b (string): Destination’s phone number (callee)

  • route_number (string): Outbound calls prefix (default prefix is ‘00’). For example: *01

*This prefix must match the existing prefix configured at the dial pattern on the Manual Dialing Routes

get/call/{c2c_id}/{leg_a}/{leg_b}/{route_number}

Query parameters

metadata1string
Example:value1
metadata2string
Example:value2

Response

Successful operation

call_idstring
call_uuidstring
messagestring

Example response

{
  "call_id": "47049",
  "call_uuid": "1abee675-0110-4970-aa41-34c1e4f98933",
  "message": "Leg A answered"
}