Webhook Setup
Overview
Prerequisites
Webhook Management API
Base Operations
Create Webhook Configuration
POST /api/rest/webhook/configs
X-Lucra-Api-Key: <your-api-key>
Content-Type: application/json
{
"subscriptions": ["UserSignedUp", "FundsDeposited"],
"url": "https://your-domain.com/webhooks/lucra",
"name": "Production Webhook",
"description": "Main webhook endpoint",
"active": true,
"customHeaders": {
"X-Custom-Header": "value"
},
"expiresAt": "2025-12-31T23:59:59Z"
}List Configurations
Update Configuration
Delete Configuration
Available Event Types
Event
Description
Configuration Limits
Request Verification
Overview
Signature Format
Verification Steps
Implementation Example (Node.js)
Security Best Practices
Shared Secret Management
Event-Specific Webhooks
Last updated
