curl --request POST \
--url https://api.bland.ai/v1/calls/{call_id}/stop \
--header 'authorization: <authorization>'
{
"status": "success",
"message": "Call ended successfully."
}
End an active phone call by call_id.
curl --request POST \
--url https://api.bland.ai/v1/calls/{call_id}/stop \
--header 'authorization: <authorization>'
{
"status": "success",
"message": "Call ended successfully."
}
success
or error
.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.”{
"status": "success",
"message": "Call ended successfully."
}