Webhook Request Format
Marmin will send POST requests to your webhook URL with the following structure.
Headers
x-marmin-signature: HMAC-SHA256 signature of the request payload.Content-Type:application/json.
Marmin will send POST requests to your webhook URL with the following structure.
x-marmin-signature: HMAC-SHA256 signature of the request payload.
Content-Type: application/json.
| Field | Description |
|---|---|
org_id | UUID of the organization that owns the document |
event_type | Event type that triggered the webhook (for example, sale.invoice.update) |
profile_id | Business profile identifier associated with the event |
resource_id | UUID of the document (same as the document object's id field) |
resource_url | API URL to fetch the latest document state |
event_timestamp | ISO 8601 timestamp when the event occurred |
webhook_event_id | Unique UUID for the webhook event delivery |
