View Categories

Payload Reference

4 Docs

Payload Envelope

Last Updated: March 23, 2026

Every webhook delivery uses a standard 4-field envelope regardless of event type. Envelope Structure { "event": "license.created", "webhook_id": "whk_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4", "timestamp": "2026-03-09T10:00:00Z", "data": { ... } } Envelope Fields Field Type Description event string The event name that triggered delivery (e.g., license.created) webhook_id string Unique delivery identifier with whk_ prefix. Used in signature verification. timestamp string...

Request Headers

Last Updated: March 23, 2026

DMSI Webhooks sends a consistent set of HTTP headers with every delivery. Standard Headers Header Value Description Content-Type application/json Payload format User-Agent DMSI-Webhooks/1.0 Identifies the sender DMSI Signature Headers Header Example Value Description X-DMSI-Signature sha256=abc123... HMAC-SHA256 signature for verification X-DMSI-Timestamp 1711195200 Unix timestamp of the delivery X-DMSI-Webhook-ID whk_1a2b3c... Unique delivery ID X-DMSI-Event license.created The event...

Signature Verification

Last Updated: March 23, 2026

Verify every incoming webhook to confirm it was sent by DMSI Webhooks and the payload was not tampered with in transit. Signature Algorithm The signature is computed as: string_to_sign = "{X-DMSI-Timestamp}.{X-DMSI-Webhook-ID}.{raw_body}" X-DMSI-Signature = "sha256=" + HMAC-SHA256(string_to_sign, signing_secret) Important: Use the raw request body (before any JSON parsing) for signature computation. Parsing and re-serializing JSON can...

Payload Customization

Last Updated: March 23, 2026

DMSI Webhooks supports per-endpoint payload customization. You can exclude specific fields from the data object and remap field names before delivery. Where to Configure Payload customization rules are set on the endpoint edit form under Payload Customization. Excluded Fields Specify a comma-separated list of field names from the data object to omit from deliveries to...