Set up the subscription
Point a subscription at your endpoint and store the signing secret it returns.The endpoint
The
seen set above is in-memory, so it forgets across restarts and won’t deduplicate across multiple instances. In production, track processed X-Dairo-Event-Id values in a durable, shared store such as Redis or your database.Test it
Send a message to trigger events, then watch your endpoint receive them.message.sent, then message.delivered once the receiving server accepts it. Send to one of your own inbox addresses to also see message.received. A failed signature check returns 401; a duplicate event ID is a no-op 200.
Next steps
- Webhooks — every event type, header, and payload.
- Build a support inbox agent — turn received events into automated replies.