Skip to main content
POST
/
v1
/
calls
/
{call_id}
/
cancel
Cancel a queued call
curl --request POST \
  --url https://api.topcalls.ai/v1/calls/{call_id}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "ok": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.topcalls.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer tc_live_xxxxx

Headers

Idempotency-Key
string

Optional client-supplied idempotency key. When present, the gateway caches the response for 24 hours and returns the same response on retried requests with the same key (account-scoped). Safe for retries on network blips. Format: 8-255 ASCII characters from [A-Za-z0-9_-].

Required string length: 8 - 255
Pattern: ^[A-Za-z0-9_-]+$
Example:

"a1b2c3d4-e5f6-7890-abcd-ef0123456789"

Path Parameters

call_id
string<uuid>
required

Call UUID

Response

Call cancelled successfully

ok
boolean
Example:

true