Make a call
API Endpoint
To make a call, the API request is made to this endpoint:
Required Parameters
Parameter | Description |
---|---|
k_number | SR Number Allocated Using Allocate Number API or Number Already Allocated |
agent_number | Number of Agent |
customer_number | Number of Customer |
caller_id | Display Number for Agent and Customer |
country_code | Country code of the agent |
Sample Request
curl -X POST \
https://kpi.knowlarity.com/Basic/v1/account/call/makecall \
-H 'accept: application/json' \
-H 'authorization: <authorization-kei>' \
-H 'x-api-key: <x-api-key>' \
-H 'content-type: application/json' \
-d '{
"k_number": "+9189297XXXXX",
"agent_number": "+9190396XXXXX",
"customer_number": "+9189826XXXXX",
"caller_id": "",
"additional_params":{"uniqueid":"123456"}
}'
Sample Response
{
"success": {
"status": "success",
"message": "Call successfully placed",
"call_id": "29ecc330-a617-4529-ac19-ffe0dcacd7df"
}
}?
Updated over 1 year ago