API Endpoint
Path Parameters
The phone number of the queued call to cancel (e.g., “966501234567”). Accepts numbers with or without the ”+” or “966”/“0” prefix — they are normalized automatically.
Request Headers
Request Body
Optional agent ID to scope the cancellation to a specific agent’s queue. If provided, must be a valid agent belonging to your company.
Example Request
Example Request
The request body is optional — an empty body is valid if you don’t need to scope by
agentId.Response
The batch ID the call belonged to, if it was part of a batch (only present when
cancelled is true)Example Response (call cancelled)
Example Response (call cancelled)
Example Response (no pending call found)
Example Response (no pending call found)
Error Handling
Example Error Responses
Example Error Responses