JavaScript
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>" }
Cancels a scheduled call and removes it from the queue. Triggers a webhook notification with call deadline status. This operation cannot cancel calls that are already in progress.
Call identifier
Call canceled successfully
Was this page helpful?