Skip to main content
DELETE
/
api
/
post-call-webhooks
/
{id}
curl -X DELETE "https://api.zudu.ai/api/post-call-webhooks/webhook_abc123def456" \
  -H "X-API-KEY: sk_Abc123Def456Ghi789Jkl012Mno345Pqr678Stu901Vwx234Yz" \
  -H "X-API-SECRET: s3cr3t_Xyz789Abc123Def456Ghi789Jkl012Mno345Pqr678Stu901Vwx234" \
{
  "message": "Post-call webhook deleted successfully",
  "status": "success",
  "error": null,
  "data": null
}
Permanently delete a post-call webhook configuration from your organization. This action cannot be undone.
curl -X DELETE "https://api.zudu.ai/api/post-call-webhooks/webhook_abc123def456" \
  -H "X-API-KEY: sk_Abc123Def456Ghi789Jkl012Mno345Pqr678Stu901Vwx234Yz" \
  -H "X-API-SECRET: s3cr3t_Xyz789Abc123Def456Ghi789Jkl012Mno345Pqr678Stu901Vwx234" \
{
  "message": "Post-call webhook deleted successfully",
  "status": "success",
  "error": null,
  "data": null
}

Path Parameters

id
string
required
The ID of the webhook to delete (format: webhook_...)Example: webhook_abc123def456

Headers

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

Response Fields

The response data is null on successful deletion.

Error Responses

error
string
Unauthorized - Missing or invalid API key/secret
error
string
Not Found - Webhook does not exist
{
  "message": "Post-call webhook not found",
  "status": "error",
  "error": "Webhook with ID 'webhook_123' does not exist"
}
error
string
Internal Server Error - Failed to delete webhook
{
  "message": "Failed to delete post-call webhook",
  "status": "error",
  "error": "Database connection failed"
}

Notes

  • This action is permanent and cannot be undone
  • The webhook will be removed from your organization immediately
  • Any agents that have this webhook assigned will need to be updated separately (the webhook assignment will be cleared)
  • Make sure to verify the webhook ID before deletion
  • Consider checking which agents are using the webhook before deleting it