POST
/
v1
/
calls
/
{call_id}
/
stop

Headers

authorization
string
required

Your API key for authentication.

Path Parameters

call_id
string
required

The unique identifier for the call you want to end.

Response

status
string

Can be success or error.

message
string

If the status is success, the message will say “Call ended successfully.” Otherwise, if the status is error, the message will say “SID not found for the given c_id.” or “Internal server error.”