Header
Request Body
Request Fields
webhookConfig (Optional)
Configuration for notification webhook
The URL where notification events will be sent
inboundWebhookConfig (Optional)
Configuration for inbound message webhook
The URL where inbound messages will be sent
Example: cURL Request
Response
Success Response (200 OK)
Webhook Payloads
Notification Webhook Payload
When a notification event occurs, Siren will send a POST request to the configured webhook URL with the following payload structure:Webhook Headers
Each webhook request will include the following headers:X-Siren-Event
: The type of event (e.g.,notification.status.updated
)X-Siren-Delivery
: A unique ID for this webhook deliveryX-Siren-Signature
: A signature you can use to verify the webhook’s authenticityContent-Type
:application/json
Error Responses
400 Bad Request
401 Unauthorized
Best Practices
- Always verify the
X-Siren-Signature
header to ensure the webhook is from Siren - Implement retry logic for handling failed webhook deliveries
- Set up appropriate rate limiting on your webhook endpoint
- Keep your webhook URL secure and never expose it in client-side code
- Handle duplicate events by checking the
X-Siren-Delivery
header