Allocate number to Agent

API Endpoint

POST https://kpi.knowlarity.com/Basic/v1/account/agent

Required Parameters

ParametersDescription
first_nameFirst Name of Agent
last_nameLast Name of Agent
phoneMobile Number of Agent
emailEmail ID of Agent
country_codecountry_code of agent

Sample Request

curl -X POST \
  https://kpi.knowlarity.com/Basic/v1/account/agent \
  -H 'authorization: <authorization-key>' \
  -H 'x-api-key: <x-api-key>'
  -d '{
  "first_name": "sakshi",
  "last_name": "gupta",
  "phone": "89826XXXXX",
  "email": "[email protected]",
  "country_code": "+91"
}'