Skip to main content
DELETE
/
batch-call
/
{id}
curl -X DELETE "https://api.zudu.ai/batch-call/batch_abc123" \
  -H "X-API-KEY: sk_Abc123Def456..." \
  -H "X-API-SECRET: s3cr3t_Xyz789..." \
{
  "message": "Batch call deleted successfully",
  "status": "success",
  "error": null,
  "data": null
}
Delete a batch call. Only draft or completed batch calls can be deleted.
curl -X DELETE "https://api.zudu.ai/batch-call/batch_abc123" \
  -H "X-API-KEY: sk_Abc123Def456..." \
  -H "X-API-SECRET: s3cr3t_Xyz789..." \
{
  "message": "Batch call deleted successfully",
  "status": "success",
  "error": null,
  "data": null
}

Headers

X-API-KEY
string
required
Your API key (format: sk_...)
X-API-SECRET
string
required
Your API secret (format: s3cr3t_...)

Path Parameters

id
string
required
The batch call ID to delete (format: batch_...)

Error Responses

error
string
Bad Request - Cannot delete batch call in current status
{
  "message": "Validation error",
  "status": "error",
  "error": "Cannot delete batch call with status SENT"
}
error
string
Not Found - Batch call does not exist

Notes

  • Only DRAFT and COMPLETED batch calls can be deleted
  • Active (SENT, SCHEDULED) batch calls cannot be deleted
  • Deletion is permanent and cannot be undone