Skip to main content
Receive real-time notifications when events occur in any sub-account. Configure webhook URLs at the partner level.

Configure Webhooks

POST /webhooks
string
required
Your webhook endpoint URL (must be HTTPS)
array
required
Array of event types to subscribe to
string
required
Secret for HMAC signature verification
Response: 201 Created

Event Types

Webhook Payload

All webhooks include a consistent envelope:

Example Payloads

Signature Verification

Every webhook includes an X-Recover-Signature header containing an HMAC-SHA256 signature of the raw request body using your webhook secret.
Always verify the webhook signature before processing the event. Never trust the payload without verification.

Delivery & Retries

Recover delivers webhooks with automatic retry on failure: Your endpoint must respond with a 2xx status within 10 seconds or the delivery is considered failed. After 5 failed retries, the event is dropped and a webhook.delivery_failed event is logged in your partner dashboard.
Each webhook delivery includes an X-Recover-Delivery-Id header with a unique delivery ID for idempotency tracking.

List Webhooks

GET /webhooks Returns all configured webhook endpoints.
Response: 200 OK

Update Webhook

PATCH /webhooks/:webhook_id Update the URL, events, or active status.

Delete Webhook

DELETE /webhooks/:webhook_id
Response: 200 OK