Skip to main content
GET
/
api
/
post-call-webhooks
/
{id}
curl -X GET "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 retrieved successfully",
  "status": "success",
  "error": null,
  "data": {
    "id": "webhook_abc123def456",
    "organization_id": "org_1234567890",
    "name": "Call Analytics Webhook",
    "url": "https://your-server.com/webhooks/call-complete",
    "description": "Receives call data after completion",
    "is_active": true,
    "agent_count": 5,
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T10:30:00Z"
  }
Retrieve complete details for a specific post-call webhook including its configuration and the number of agents using it.
curl -X GET "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 retrieved successfully",
  "status": "success",
  "error": null,
  "data": {
    "id": "webhook_abc123def456",
    "organization_id": "org_1234567890",
    "name": "Call Analytics Webhook",
    "url": "https://your-server.com/webhooks/call-complete",
    "description": "Receives call data after completion",
    "is_active": true,
    "agent_count": 5,
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T10:30:00Z"
  }

Path Parameters

id
string
required
The ID of the webhook to retrieve (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

id
string
Unique webhook identifier
organization_id
string
The organization ID the webhook belongs to
name
string
Webhook name
url
string
Webhook URL where post-call data is sent
description
string
Webhook description (if provided)
is_active
boolean
Whether the webhook is currently active
agent_count
integer
Number of agents currently using this webhook
created_at
string
ISO 8601 timestamp when the webhook was created
updated_at
string
ISO 8601 timestamp when the webhook was last updated

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 retrieve webhook
{
  "message": "Failed to retrieve post-call webhook",
  "status": "error",
  "error": "Database connection failed"
}

Notes

  • Results are automatically scoped to your organization based on the API key (organization ID is automatically extracted)
  • The agent_count field shows how many agents are currently using this webhook
  • Use this endpoint to check if a webhook exists and view its current configuration
  • For Python service access, use GET /api/post-call-webhooks/{id}/full