SparkTG API Documentation
Integrate powerful cloud telephony features into your applications with our REST APIs.
Get StartedMoving to API v2
v2Token-based authentication for your existing integration. How to move an integration from the v1 API (username and password) to v2 (signed API tokens).
Moving to API v2Make a call (v2)
v2Start an outbound or scheduled call
Click to call (v2)
v2OTP-verified callback requests
Remove scheduled calls (v2)
v2Cancel calls that are scheduled
Batch create scheduled calls (v2)
v2Schedule up to 500 calls in one request
Send a WhatsApp message (v2)
v2Send a message from your service
Fetch call details in bulk (v2)
v2Call records for a time range
Login / logout report (v2)
v2Agent login and logout times
List agents (v2)
v2Every agent of the token's service
List services (v2)
v2The token's service
LeadSquared DID list (v2)
v2DIDs for the LeadSquared integration
API v1 is being phased out
All SparkTG APIs are moving to API v2. APIs marked “Deprecating soon” already have a v2 version and won't be supported once they're deprecated, so move them now. The rest will move to v2 soon.
API Documentation
v1.0SparkTG Cloud Telephony API Reference. Start here to understand SparkTG's API architecture.
Read OverviewAgent Management
Agent Detail
v1.0Get agent information and status
Agent Login Logout
v1.0Manage agent status and availability
Available Agent
v1.0Get list of free agents
Change Number
v1.0Update agent phone numbers
Update Agent's Status
v1.0Change agent availability status
Update Agent's Break
v1.0Manage agent break status
Update Agent's Number
v1.0Change agent phone numbers
Update Agent's Name
v1.0Change agent display names
Call Analytics
Dashboard Analytics
Dialer Operations
Call Initiation
Call Management
Make Call
v1.0Initiate outbound calls
Schedule Call
v1.0Schedule future calls
Add Call
v1.0Add participants to calls
Transfer Call
v1.0Transfer calls between agents
Call Control
Messaging & Verification
User
Real-time Integration
Events
v1.0Real-time call events via WebSocket
Register For Events
v1.0Subscribe to real-time events
Register/Unregister for Events
v1.0Manage event subscriptions
Update Event
v1.0Update event mask settings
Get Subscribers
v1.0Retrieve event subscribers
Get All Subscribers
v1.0Retrieve all event subscribers
Ready to Build?
Start integrating SparkTG APIs into your applications today.
