SparkTG
Loading your experience...
Please wait while we prepare everything for you
Please wait while we prepare everything for you
Update agent phone numbers
Basic Authentication
PATCH
2 Parameters
JSON Format
/agentsnumber(Integer)Desired updated number for agent
agent-number(Integer)Number of the agent of which status to be updated, useful in case of admin credentials, can change status of agent via agent's number
Try this API with a simple cURL command
curl -i -X PATCH -u "username:password" "https://telephonycloud.co.in/api/v1/agents?number=9999999999&agent-number=9999999999"Sample response from this API
{"number":"9999999999"}