Get started
To start receiving webhook events in your app:1
Create a webhook endpoint
Set up an HTTPS endpoint on your server to receive POST requests from deepidv.
2
Register your endpoint
Add your webhook endpoint URL in the deepidv Admin Console under Integrations > Webhooks.
3
Select events
Choose which event types you want to subscribe to.
4
Verify signatures
Use your signing secret to verify that incoming requests are from deepidv.
Register your endpoint
You can configure webhooks in the Admin Console under Integrations > Webhooks. When creating a webhook, you’ll provide:
After creating a webhook, deepidv generates a signing secret (prefixed with
whsec_). Store this secret securely — you’ll use it to verify that incoming webhook requests are from deepidv.
Event types
deepidv sends the following event types:
You can subscribe to all events or only the ones relevant to your integration. See the Event Object reference for the full payload structure.
Create a handler
Set up an HTTP endpoint that accepts POST requests with a JSON body. Your handler should:- Parse the JSON request body containing the event object
- Verify the
deepidv-signatureheader using your signing secret - Return a
200status code as quickly as possible - Process the event asynchronously (after responding)
deepidv considers any
2xx response a successful delivery. If your endpoint returns a non-2xx status or times out (after 10 seconds), deepidv will retry the delivery.Example endpoint
Verify signatures
Every webhook request includes adeepidv-signature header containing your signing secret. Compare this value against the signing secret shown when you created the webhook to verify the request is from deepidv.
Test your webhook
You can send a test event from the Admin Console to verify your endpoint is working correctly:- Go to Integrations > Webhooks in the Admin Console
- Select your webhook
- Click Send Test Event
- Choose the event type to test
- Check your endpoint for the received event
Retry behavior
If your endpoint doesn’t return a2xx response or doesn’t respond within 10 seconds, deepidv will retry the delivery. Events are retried with exponential backoff.
Best practices
Return a 200 response quickly
Your endpoint should return a200 response before performing any complex logic. Defer processing to a background job or queue to avoid timeouts.