Cancel a call
POST
/call /{id} /cancelStop a call's future attempts. A call that has not started dialing yet is cancelled right away. A call whose attempt is already in progress is not hung up: that attempt finishes, and no retry or callback is scheduled after it. Returns 409 when the call can no longer be cancelled: its conversation is over and being analysed (post_processing), or it is in a final status.
Path parameters
idstringrequiredID of the call, as returned by
POST /callorPOST /call/search.
Request body
No body: send the request without one.
Response
200successbooleanTrue when the operation succeeded.
Errors
- 400Invalid request: a field or parameter failed validation
{ "message"?: string, "error"?: string, "bodyErrors"?: {…} } - 404Not found in your organization
{ "message"?: string, "error"?: string, "bodyErrors"?: {…} } - 409Conflicts with the resource's current state
{ "message"?: string, "error"?: string, "bodyErrors"?: {…} }
Error bodies carry an error (or message) string; a 400 adds bodyErrors.issues. See Errors.