Overview
Receive lifecycle events from Wocha via signed webhooks.
Wocha sends HTTP POST requests to your endpoint when lifecycle events occur in your tenant. This guide covers the Customer API webhook delivery format — the same format implemented by @wocha/sdk/webhooks.
Register a webhook
In the Wocha Console or via the Customer API:
Loading playground…
Verify signatures
Each delivery includes a signature header. Verify it with the webhook secret before processing:
Event envelope
Every delivery includes top-level envelope fields plus a typed data object:
Common events
| Event | Description |
|---|---|
user.created | New identity registered |
user.updated | Traits or metadata changed |
user.deleted | Identity removed |
session.created | Session issued |
session.revoked | Session terminated |
organisation.created | Organisation created |
organisation.member_added | User added to org |
organisation.member_removed | User removed from org |
Local development
Use the CLI to forward webhooks to localhost: