Webhook simulation allows you to test your integration without triggering real business processes or affecting production data. Simulated events work exactly like production webhooks but are clearly marked so you can handle them differently.
Ensure your webhook endpoint is configured correctly:
Verify your application handles events correctly:
Troubleshoot problems safely:
Help developers understand the integration:
When you simulate a webhook event:
"is_simulation": trueSimulated events use the same infrastructure as production webhooks, so they’re an accurate test of your integration’s reliability.
Quick testing tip: Keep the Developer Center open while testing your local endpoint with ngrok. You can simulate events instantly and see results in real-time.
Simulated webhooks include the is_simulation flag in the payload:
You can detect and handle simulated events differently in your code:
Important: Always check the is_simulation flag to avoid processing test data as if it were real. This prevents duplicate records, incorrect metrics, and unintended side effects.
Simulate each event type you’re subscribed to:
Always verify:
Use realistic test data that mirrors your production use cases:
Test unusual scenarios:
Don’t process simulated events as real data:
Check:
Test connectivity:
Possible causes:
Solution: Ensure simulated events can pass through your validation:
Options:
Local testing: