SparkTG

Admin Dashboard Details Documentation

Admin Dashboard Details

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 v2

Admin Dashboard Details

Get comprehensive dashboard data

Dashboard Analyticsv1.01 Endpoint

Overview

Admin Dashboard Details : GET : /dashboard

Available Endpoints

GET/dashboard

Key Parameters

svc-id(Integer)

15

Quick Example

Try this API with a simple cURL command

Basic API Call
curl -i -u "username:password" "https://telephonycloud.co.in/api/v1/dashboard?svc-id=1"
💡 Replace username:password with your actual credentials

Response Preview

Sample response from this API

Sample Response
{"isSupervisor":true,"userName":"AgentN","serviceName":"TestService","svcId":1,"agents":[{"id":1,"number":"9999880403","number1":"","name":"Admin","status":0,"sip":"10100","time":1555324648000,"active...
View complete response format in Response section