Skip to main content
DELETE
/
api
/
v1
/
calls
/
{callId}
Cancel call
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://blackbox.dasha.ai/api/v1/calls/{callId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "type": "<string>",
  "title": "<string>",
  "status": 123,
  "detail": "<string>",
  "instance": "<string>"
}
This operation only cancels scheduled calls. Active calls in progress cannot be canceled through this endpoint.

What Happens

  1. Call is removed from the queue
  2. Webhook notification is sent with deadline status
  3. Call status is updated to canceled

Impact

  • Scheduled calls: Successfully canceled before execution
  • Active calls: Cannot be canceled (use call control endpoints instead)
  • Completed calls: Cannot be canceled

Path Parameters

callId
string
required

Call identifier

Response

Call canceled successfully