Setting Up Webhooks
- Navigate to the Settings Panel
- Locate the “Webhooks” section
- Enter your webhook endpoint URL with an optional secret
Per-Request Webhook Override
You can override the default webhook URL for specific API requests by including thewebhook_url parameter:
- Different projects need different webhook endpoints
- You want to route notifications to specific services
- Testing webhook integrations without changing account settings
Webhook Payload
When a webhook is triggered, Datalab sends a POST request to your configured endpoint with a JSON payload containing the following fields:Webhook Secret Verification
The webhook secret is included in the JSON request body, allowing you to verify that incoming webhooks are authentic requests from Datalab.Verifying Webhooks on Your Server
Here’s an example of how to verify the webhook secret in your receiving endpoint:Delivery Attempt History
Every webhook delivery attempt is recorded and visible in the Usage tab of the dashboard. Click any processed request to open the delivery drawer and see:- Timestamp of each delivery attempt
- HTTP status code returned by your endpoint
- Response body (truncated for large payloads)
- Whether the delivery succeeded or is being retried
Troubleshooting
Not Receiving Events If your webhook is not receiving events, try the following:- Verify URL is publicly accessible
- Validate webhook secret matches
- Check the delivery attempt history in the Usage tab for status codes and error details
- Ensure your endpoint responds within 30 seconds