Skip to content
Get started

Cancel a call

client.call.cancel(stringid, RequestOptionsoptions?): CallCancelResponse { success }
POST/call/{id}/cancel

Cancel a running or scheduled call.

ParametersExpand Collapse
id: string
ReturnsExpand Collapse
CallCancelResponse { success }
success: boolean

Cancel a call

import Revox from '@revoxai/sdk';

const client = new Revox({
  apiKey: process.env['REVOX_API_KEY'], // This is the default and can be omitted
});

const response = await client.call.cancel('id');

console.log(response.success);
{
  "success": true
}
Returns Examples
{
  "success": true
}