Skip to main content
DELETE
/
api
/
calls
/
{callId}
curl -X DELETE "https://api.zudu.ai/api/calls/call_abc123def456" \
  -H "X-API-KEY: sk_Abc123Def456..." \
  -H "X-API-SECRET: s3cr3t_Xyz789..."
{
  "message": "Call deleted successfully",
  "status": "success",
  "error": null,
  "data": {
    "call_id": "call_abc123def456",
    "organization_id": "org_1234567890"
  }
}
Permanently delete a call from your organization. This operation cannot be undone.
curl -X DELETE "https://api.zudu.ai/api/calls/call_abc123def456" \
  -H "X-API-KEY: sk_Abc123Def456..." \
  -H "X-API-SECRET: s3cr3t_Xyz789..."
{
  "message": "Call deleted successfully",
  "status": "success",
  "error": null,
  "data": {
    "call_id": "call_abc123def456",
    "organization_id": "org_1234567890"
  }
}

Headers

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

Path Parameters

callId
string
required
The unique identifier of the call to deleteFormat: call_...Example: call_abc123def456

Response Fields

data.call_id
string
The ID of the deleted call
data.organization_id
string
The organization ID the call belonged to

Error Responses

error
string
Not Found - Call does not exist
{
  "message": "Call not found",
  "status": "error",
  "error": "Call with ID 'call_abc123' does not exist in organization 'org_123'"
}
error
string
Unauthorized - Missing or invalid API key/secret
error
string
Internal Server Error - Failed to delete call

Notes

  • The organization ID is automatically extracted from your API key
  • Only calls belonging to your organization can be deleted
  • This operation is permanent and cannot be undone
  • Deleted calls are removed from all queries and reports