SparkTG
Loading your experience...
Please wait while we prepare everything for you
Please wait while we prepare everything for you
Manage agent status and availability
Basic Authentication
PATCH
3 Parameters
JSON Format
/agentsstatus(Integer)Status number resembles which type of status is desired. See table Status below
break(Integer)Break id resembles that which type of break is taken against the status. See table Break below
agent-number(String)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 -X PATCH -u "username:password" https://telephonycloud.co.in/api/v1/agents?status=0Sample response from this API
{"break":-1,"status":0}