Trillet AI logo

Cancel Batch Contact

Cancel the batch job for one phone number.

DELETEhttps://api.trillet.ai/v1/api/batch-calls/{batchId}/contacts/{phone}

Headers

x-workspace-idstringrequired

Workspace identifier for the API.

Path Parameters

batchIdstringrequired

The batch that contains the contact.

phonestringrequired

Phone number of the contact to cancel, in the same form stored on the batch job.

Example

curl -X DELETE "https://api.trillet.ai/v1/api/batch-calls/batch_7891011121314/contacts/%2B14155551234" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-workspace-id: YOUR_WORKSPACE_ID"

URL-encode the phone number. A leading + is %2B.