SparkTG

Agent Detail Documentation

Agent Detail

v1.0

Agent Detail

Get agent information and status

Agent Managementv1.01 Endpoint

Overview

If provided credentials of user which have admin rights then all the agents of that service will be shared else only the agent of whom credentials will be passed in API.

Authentication

Basic Authentication

Methods

GET

Response

JSON Format

Available Endpoints

GET/agents

Quick Example

Try this API with a simple cURL command

Basic API Call
curl -i -u "username:password" "https://telephonycloud.co.in/api/v1/agents"
💡 Replace username:password with your actual credentials

Response Preview

Sample response from this API

Sample Response
[{"id":6,"number":"2","number1":null,"name":"Agent3","status":0,"sip":"10203","time":1551783584000,"active":true,"country_code":"91","svc_id":2,"user_id":6,"call_txn_id":"ed6bae01-cdcc-4535-8bf4-38c9b...
View complete response format in Response section