POST
/
end
curl --request POST \
  --url https://api.bland.ai/end \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "call_id": "<string>"
}'
{
  "status": "success",
  "message": "Call ended successfully."
}

Headers

authorization
string
required

Your API key for authentication.

Body

call_id
string
required

The unique identifier for the call.

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