Skip to main content
POST
/
v1
/
leads
/
bulk-delete
Bulk delete leads (hybrid sync/async)
curl --request POST \
  --url https://api.topcalls.ai/v1/leads/bulk-delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "kind": "sync",
  "deleted": 1,
  "skipped": 1,
  "skipped_payload": [
    {
      "lead_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "reason": "not_found"
    }
  ]
}

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

Body

application/json
ids
string<uuid>[]
required
Required array length: 1 - 500 elements
account_id
string<uuid>

Response

Sync delete completed (count <= 500)

kind
enum<string>
required
Available options:
sync
deleted
integer
required
Required range: x >= 0
skipped
integer
required
Required range: x >= 0
skipped_payload
object[]
required