Skip to main content
POST
Ends a call on the phone while it is ringing or in progress. Use it when the person on the other side hangs up from your own interface, for example a “hang up” button next to a live call. The call is then closed like any other: it reaches call_status: ended with disconnection_reason: user_hangup, and your call webhooks fire as usual. Poll Get Call Status to see it finish. Stopping is idempotent: a call that already finished answers stopped: false instead of an error. A call that is still queued has not reached the phone yet and answers 409 — retry in a few seconds. To cancel a scheduled call, use the cancel endpoint instead.

Path Parameters

string
requerido
The UUID of the call, as returned by Make AI Phone Call.

Headers

string
requerido
Your API key for authentication. Found in your dashboard under API settings.

Response

The response is { "statusCode": number, "data": object }. The fields below describe data.
string
The UUID of the call.
boolean
true when the call was hung up; false when it had already finished.
string
The call status when it was asked to stop, e.g. pending (ringing), in_progress or ended.

Error Codes

  • 400 Bad Request — callId is not a valid UUID
  • 401 Unauthorized — Invalid or missing API key
  • 404 Not Found — Call not found or does not belong to your organization
  • 409 Conflict — The call has not been placed yet (queued or scheduled). Retry in a few seconds
  • 500 Internal Server Error — Server-side error

Code Examples