URL: https://api.stringee.com/v1/call2/stop
HTTP method: POST
Content-Type: application/json
Custom HTTP POST header: Name: X-STRINGEE-AUTH Value: JSON web token (JWT), see Authentication
POST data (body):
{
"callId": "YOUR_CALL_ID"
}
Field | Type | Require | Descriptio |
---|---|---|---|
callId | String | Yes | The ID of the Call you want to stop |
Response:
{
"r": response_code,
"message": "response_message"
}
Field | Type | Require | Descriptio |
---|---|---|---|
r | Int | Yes | Response code |
message | String | No | Response message |
Sample request
POST /v1/call2/stop HTTP/1.1
Host: https://api.stringee.com
X-STRINGEE-AUTH: json_web_token
Accept: application/json
{
"callId": "call-vn-1-R2NMRYB3WB-1523426433807"
}
Sample response
{"r":0}