Documentation Index
Fetch the complete documentation index at: https://waffo.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Use the SDK built-in WebhookHandler
We strongly recommend using the SDK methodwebhook().handleWebhook(), which automatically handles:
- Signature verification
- JSON parsing and event routing
- Response body construction and signing
Idempotent handling
Waffo may deliver the same event multiple times. Make sure your handling logic is idempotent:Fast responses
- The SDK automatically builds the response after the handler finishes executing
- Time-consuming operations (such as sending emails or updating external systems) should be handled asynchronously
- If an exception is thrown in the handler, the SDK automatically returns a failure response
Security
- Always verify
X-SIGNATURE(handled automatically by the SDK) - Use an HTTPS endpoint
- Verify the signature before processing the event—do not execute any business logic before verification passes
- The response must include the
X-SIGNATUREheader (handled automatically by the SDK)