JSON Path Tester
Test path expressions against webhook payloads. Build filters for routing webhooks based on payload content.
JSON Payload
Valid JSON
Path Expression
Result
number
2500
Condition Tester
Build a filter condition to test against the payload. This maps directly to Hookbase filter rules for webhook routing.
Pass
2500 > 1000
Path Expression Syntax
$— The root object. All paths start from the root.$.key— Access a top-level property by name.$.parent.child— Access nested properties using dot notation.$.items[0]— Access an array element by its zero-based index.$.items[0].name— Chain array access with property access.$["key-name"]— Bracket notation for keys with special characters.
Using Paths in Webhook Filters
- Route by event type — Use
$.type == "charge.succeeded"to only route specific events to a destination. - Filter by amount — Use
$.data.object.amount > 5000to trigger alerts for high-value transactions. - Check existence — Use the
existsoperator to verify a field is present before routing. - Match substrings — Use
containsto filter by partial matches in email addresses, descriptions, or tags.
Want more? Try webhook filtering and routing in Hookbase
Get started free with no credit card required.