POST
/
v1
/
calls
/
active
/
stop
curl --request POST \
  --url https://us.api.bland.ai/v1/calls/active/stop \
  --header 'authorization: <authorization>'
{
  "status": "success",
  "message": "Stopping active calls. This may take some time...",
  "num_calls": 12
}

Headers

authorization
string
required

Your API key for authentication.

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.”

num_calls
integer

The number of active calls that will be cancelled.

{
  "status": "success",
  "message": "Stopping active calls. This may take some time...",
  "num_calls": 12
}