Skip to content

JSON Schema validation

JSON Schema validation is available on every Hooklane plan. Enable it in a webhook’s validation section, then paste a JSON Schema for the request body.

This schema requires an event name and an order with a numeric total.

{
"type": "object",
"required": ["event", "order"],
"properties": {
"event": { "type": "string" },
"order": {
"type": "object",
"required": ["id", "total"],
"properties": {
"id": { "type": "string" },
"total": { "type": "number", "minimum": 0 }
}
}
}
}

If the JSON body does not satisfy the schema, Hooklane returns a client error and does not trigger Shopify Flow. The delivery log records the validation failure and lists the relevant schema paths, without exposing configured secrets.

Use test delivery with examples of valid and invalid events before turning on a production endpoint.