curl -X POST https://prod.api.unleeshed.ai/partner/v1/webhooks \ -H "X-Api-Key: your_api_key" \ -H "Content-Type: application/json" \ -d '{ "url": "https://your-domain.com/webhooks/unleeshed", "events": ["creator.approved", "partner.approved", "commentary.failed"] }'
{ "success": true, "data": { "id": "whk_abc123", "url": "https://your-domain.com/webhooks/unleeshed", "events": ["creator.approved", "partner.approved", "commentary.failed"], "secret": "whsec_a1b2c3d4...", "status": "active", "consecutive_failures": 0, "last_delivery_at": null, "created_at": "2026-02-04T10:00:00Z", "updated_at": "2026-02-04T10:00:00Z" } }
Register a new webhook endpoint
creator.approved
partner.approved
commentary.failed
active
paused
disabled