Skip to main content
Configure webhooks to receive real-time events from agent conversations. Process conversations as they happen in your own systems.

Use Cases

Webhook events are ideal for:
  • Real-time monitoring: Track conversations and agent performance as they happen
  • System integration: Sync conversation data with CRMs, analytics platforms, or internal tools
  • Automated workflows: Trigger actions based on conversation events or sentiment analysis
  • Custom analytics: Build custom dashboards and reporting on top of conversation data

Requirements

Your webhook endpoint must:
  • Be publicly accessible from the internet
  • Accept POST requests with JSON payloads
  • Return a 200 status code to acknowledge receipt
The endpoint should also support the following CORS headers:
CORS headers are required because webhook validation currently happens in the browser. This requirement will be removed in a future release.

Configuration

Webhooks are configured through the Studio:
  1. Navigate to Your Settings → Webhooks Tab
  2. Enter your webhook endpoint URL
  3. Save to trigger a test event for validation
When you save your webhook URL, a test event will be sent to validate your endpoint:
Your endpoint must return a 200 status code to confirm it’s working correctly.

Event Types

Your webhook endpoint will receive POST requests with different event types.
We currently do not support retry logic for failed webhook deliveries. Ensure your endpoint is reliable to avoid missing events.

Message Events

Triggered whenever a message is sent during a conversation (by either the user or agent).
The agent’s greeting message marks the start of a conversation and can be used to trigger conversation initialization logic in your webhook handler.

Call Ended Events

Triggered when a conversation concludes, includes full transcript and evaluation.

Complete Example

See our webhook processor example for full implementation including event handling, CORS configuration, and deployment scripts.

Webhook Processor Example

Complete implementation with deployment scripts