Add Call Documentation
Add Call
v1.0Moving to v2
Add Call
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 v2Add Call
Add participants to calls
Call Managementv1.01 Endpoint
Overview
Add Call : POST : /add-call
Available Endpoints
POST
/add-callKey Parameters
toagentid(Integer)345
agent-id(Integer)675
xnid(UUID)0a83b9e6-50b7-48c8-a3c5-2e8f7d60e1ae
Quick Example
Try this API with a simple cURL command
Basic API Call
curl -i -X POST -u "username:password" -d "xnid=0e5aff8c-8707-4377-8baa-31cceab9fca7&toagentid=321&agent-id=432" "https://telephonycloud.co.in/api/v1/add-call"💡 Replace username:password with your actual credentials
Response Preview
Sample response from this API
Sample Response
{"isError":false,"callTxnId":"0e5aff8c-8707-4377-8baa-31cceab9fca7"}View complete response format in Response section
