Webhooks
Webhooks enable integration between the ClusterLab platform and external systems. They allow real-time notifications about events and data exchange with other applications.Webhook Properties
Webhooks include the following key information:Basic Configuration
- Webhook URL - Destination URL for webhook calls
- Webhook Method - HTTP method (GET, POST, etc.)
- Webhook Events - Events that trigger the webhook
- Webhook Status - Current operational status
Authentication
- Webhook Auth Token - Token for authentication
- Webhook Basic Auth Username - Username for basic authentication
- Webhook Basic Auth Password - Password for basic authentication
- Webhook Headers - Custom HTTP headers
Retry Configuration
- Webhook Timeout - Maximum time to wait for response
- Webhook Retries - Number of retry attempts
- Webhook Retry Delay - Time between retry attempts
- Webhook Retry Delay Unit - Unit for retry delay (e.g., seconds, minutes)
Status Tracking
- Webhook Last Status Update At - Timestamp of last status update
- Webhook Last Status Update Message - Message from last update
- Webhook Last Status Update Attempts - Number of attempts in last update
- Webhook Last Status Update Error - Error from last update
- Webhook Last Status Update Response - Response from last update
- Webhook Last Status Update Response Status Code - HTTP status code
- Webhook Last Status Update Response Status Message - HTTP status message
- Webhook Last Status Update Response Headers - Response headers
- Webhook Last Status Update Response Body - Response body
Webhook Events
Webhooks can be triggered by various events, including:- call.started - A call has started
- call.ended - A call has ended
- call.transcribed - A call transcript is available
- campaign.started - A campaign has started
- campaign.ended - A campaign has completed
- contact.created - A new contact has been created
- agent.task.completed - An agent has completed a task
Webhook Payload
Webhook payloads include relevant data about the triggering event. For example, acall.ended event might include: