calls

End Call

Terminate an ongoing call.

Works for both hosted-mode and webhook-mode calls. The call_ended webhook from the voice provider updates status/endedAt asynchronously, so this endpoint returns the current call as soon as the stop request is accepted upstream.

post/v1/calls/{call_id}/end

Request

  • Base URL
    https://api.agentphone.ai
  • URL
    https://api.agentphone.ai/v1/calls/{call_id}/end
  • Auth
    HTTP bearer

Path parameters

call_idstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 42 revisions of this API.