Make a call

API Endpoint

To make a call, the API request is made to this endpoint:

Required Parameters

ParameterDescription
k_numberSR Number Allocated Using Allocate Number API or Number Already Allocated
agent_numberNumber of Agent
customer_numberNumber of Customer
caller_idDisplay Number for Agent and Customer
country_codeCountry 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"
    }
}?