Setting up webhooks
Plane uses Svix to deliver webhooks reliably. To configure webhooks:1
Navigate to webhook settings
Go to Developers in the sidebar, then click Webhooks. You must be an admin to access this section.
2
Add an endpoint
Click Add Endpoint and enter the URL where you want to receive webhook events. This must be a publicly accessible HTTPS URL.
3
Select events
Choose which events you want to subscribe to. You can subscribe to all events or select specific event types.
4
Save and test
Save your endpoint configuration. Use the Test feature to send a sample event and verify your endpoint is receiving webhooks correctly.
Your organization must have API access enabled to use webhooks. Contact support if you don’t see the Webhooks option in your sidebar.
Webhook payload structure
All webhook payloads follow a consistent structure:Example payload
The event type that triggered the webhook (e.g.,
payment.created, worker.updated).The event payload containing the relevant resource data. The structure varies by event type.
Supported events
Webhooks can be configured for any supported event type. See the events documentation for the full list of available events.Verifying webhook signatures
Svix signs all webhook payloads so you can verify they came from Plane. Each webhook includes these headers:svix-id- Unique message identifiersvix-timestamp- Unix timestamp when the message was sentsvix-signature- Signature for verification
Node.js verification example
Handling webhooks
Respond quickly
Respond quickly
Return a
2xx response within 30 seconds. If your processing takes longer, acknowledge receipt immediately and process the event asynchronously.Handle duplicates
Handle duplicates
Webhooks may occasionally be delivered more than once. Use the
svix-id header to deduplicate events and ensure idempotent processing.Retry behavior
Retry behavior
If your endpoint returns a non-2xx response or times out, Svix will retry the delivery with exponential backoff for up to 3 days.
Monitoring and debugging
The Svix dashboard provides tools to monitor your webhooks:- Message logs - View all sent webhooks with payloads and responses
- Retry controls - Manually retry failed deliveries
- Endpoint health - Monitor success rates and response times