Registers a new webhook endpoint to receive event notifications. Requires admin role. The secret for HMAC-SHA256 signature verification is returned only in this response — store it securely.
API key with sf_live_ prefix. Pass as Authorization: Bearer sf_live_...
Unique key for idempotent requests. If a request with the same key was already processed within the last 24 hours, the cached response is returned with X-Idempotent-Replayed: true.
"idk_550e8400-e29b-41d4-a716-446655440000"
HTTPS URL to receive webhook POST requests.
"https://api.example.com/webhooks/shelfforce"
Events to subscribe to. Use * for all events.
1analysis.completed, analysis.failed, task.created, task.completed, task.updated, * ["analysis.completed", "analysis.failed"]Human-readable label for the endpoint.
"Production analysis handler"
Webhook endpoint registered. The secret field is shown only in this response.