Overview
Levers webhooks enable your application to receive real-time notifications when important events occur, such as AI phone calls completing. Webhooks are delivered as HTTP POST requests to your configured endpoint.How Webhooks Work
When an event occurs, Levers sends an HTTP POST payload to your webhook endpoint with event data and Svix signature headers.
When to Use
Webhooks are ideal for updating your database, triggering workflows, or sending notifications in response to events.
Setup Guide
Follow this step-by-step guide to configure webhooks in the Levers Dashboard:Steps Covered in the Guide
- Create Webhook - Add a name and description for your webhook
- Configure Endpoint - Enter your webhook URL (e.g., from Beeceptor for testing)
- Select Events - Choose which events trigger the webhook (e.g.,
phone_call.ended) - Test Your Setup - Trigger test events and verify the payload
- Inspect Headers - Review the Svix signature headers for verification
Security
Levers uses Svix to secure webhook deliveries. All webhook requests include:- Signature Headers: cryptographic signatures to verify the request originated from Levers
- Timestamp Headers: to prevent replay attacks
- Event IDempotency: each event has a unique ID to prevent duplicate processing
The Webhook Flow
Configure Your Endpoint
Create a publicly accessible HTTPS endpoint that accepts POST requests. Your endpoint should:
- Respond with
200 OKwithin 30 seconds - Verify the Svix signature before processing
- Handle duplicate events (idempotency)
Register Your Webhook
Add your webhook URL in the Levers Dashboard under Settings > Webhooks. You can:
- Select which events to subscribe to
- Add multiple endpoints for redundancy
- Set secret keys for each endpoint
Receive Events
When a subscribed event occurs, Levers sends a POST request to your endpoint with:
- JSON payload containing event data
- Svix signature headers for verification
- Event type and timestamp metadata

