Hang Up Call Documentation
Hang Up Call
v1.0Moving to v2
Hang Up 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 v2Hang Up Call
Terminate active calls
Call Controlv1.01 Endpoint
Overview
Hang Up Call : POST : /hangup
Available Endpoints
POST
/hangupKey Parameters
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" "https://telephonycloud.co.in/api/v1/hangup"💡 Replace username:password with your actual credentials
Response Preview
Sample response from this API
Sample Response
trueView complete response format in Response section
