Available Agent Documentation
Available Agent
v1.0Moving to v2
Available Agent
v1.0Moving to v2
This API is moving to v2
All SparkTG APIs are moving to API v2, with signed API tokens instead of a username and password. This one will follow soon; until then, use it on v1 as documented here.
Moving to API v2Available Agent
Get list of free agents
Agent Managementv1.01 Endpoint
Overview
Based on the provided credentials, available/free agents will be provided of the assigned service id.
Available Endpoints
GET
/agents-freeQuick Example
Try this API with a simple cURL command
Basic API Call
curl -i -u "username:password" "https://telephonycloud.co.in/api/v1/agents-free"💡 Replace username:password with your actual credentials
Response Preview
Sample response from this API
Sample Response
[{"name":"Agent20","id":23},{"name":"Agent21","id":24},{"name":"Agent32","id":35},{"name":"Agent85","id":88}]View complete response format in Response section
