PropelAuth webhooks
PropelAuth webhooks are HTTP requests, delivered through Svix, that tell your application when users and organisations change, and that can hand transactional emails to your own provider.
How PropelAuth webhooks work
Webhooks save you polling PropelAuth's API to keep a copy of users and organisations in your database, provision resources at sign-up or update billing as people join an organisation. Each delivery is a POST from Svix, whose default headers are svix-id, svix-timestamp and svix-signature. The email.* events fire only for emails you've switched to Webhook delivery, and PropelAuth's Send Emails page lists what each carries, such as email and action_url.
PropelAuth says each payload includes the event type and any relevant information, but its public docs don't name the field or publish a full body. The one public example, a screenshot of user.added_to_org, shows user_id, org_id and role and no event-type key, so read the event catalogue in your dashboard before you write a router. user.updated and org.updated carry only the ID. PropelAuth documents no version on webhook bodies.
Key facts
svix-signature Format: v1,<base64>, space-delimited when there are several
{svix-id}.{svix-timestamp}.{raw body} The two headers and the body as sent, joined with dots. PropelAuth sends readers to Svix for this scheme.
Setting up PropelAuth webhooks
- Open the Integrations page in the PropelAuth dashboard, then Webhooks. Add separate endpoints for your test and production environments, and subscribe each to the events you handle.
- To receive
email.*events, go to the Emails page and switch each email from PropelAuth to Webhook, which you can do per environment. PropelAuth then stops sending that email itself. - To test locally, forward deliveries to your machine with the Hookdeck CLI, add its URL as a test endpoint and trigger a real event, such as signing up a test user.
- PropelAuth's docs don't describe a manual resend. Its launch post says Svix can show a log of the events your endpoints received.
Delivery behaviour
not published Svix, which delivers for PropelAuth, documents 30 seconds to return a 2xx Retries retried on failure PropelAuth gives no schedule; Svix's documented one is 8 attempts over about 27 hours, and PropelAuth doesn't say if it keeps that After retries run out not published Svix's docs mark the message failed, and disable an endpoint after 5 days of failures Ordering can arrive out of order PropelAuth sends only the ID on user.updated and org.updated for this reason Known failure modes
From Hookdeck's PropelAuth guide →-
Update event has no data
Handle ordering →user.updatedandorg.updatedcarry only the ID, because a webhook can arrive out of order. Fetch the latest user or organisation from PropelAuth's API when one arrives. -
Users never get an email
Once an email is switched to Webhook, PropelAuth no longer sends it. If your handler drops
Other PropelAuth limits →email.reset_passwordoremail.confirmation_email, that user gets nothing, so alert on failures for these events. -
Duplicate deliveries
PropelAuth retries webhooks that fail, and Svix keeps
Handle duplicates →svix-idthe same on a resend, even if your handler had already done the work. Record eachsvix-idand skip repeats. -
Router can't find the event type
PropelAuth's public docs say each payload includes the event type but don't name the field. Read the dashboard's event catalogue or log a delivery from your test environment before you write a router.
Test your handler →
PropelAuth webhook best practices
- Verify against the raw body. Svix signs the exact bytes, so parse the JSON only after the check passes.
- Return a 2xx quickly. Store the event and respond, then sync data or call other services in a background job.
- Deduplicate on
svix-id. Svix keeps the id the same when it resends a message, so record each one and skip repeats. - Fetch the record on
*.updated.user.updatedandorg.updatedcarry only the ID, so an older delivery can't overwrite newer data. Read the current record from PropelAuth's API. - Treat email events as part of sign-in. Once an email is set to Webhook, PropelAuth no longer sends it, so alert on failures and process these events first.
- Keep test and production apart. Use a separate endpoint and secret for each environment, and try switched emails in Test before Prod.
Common PropelAuth webhook events
Users
user.created | New user signs up |
user.updated | User details change; only user_id is sent, so fetch the latest |
user.deleted | User is deleted |
Organisations and members
org.created | Organisation is created |
org.updated | Organisation details change; only org_id is sent, so fetch the latest |
user.added_to_org | User joins an organisation |
user.role_changed_within_org | User's role in an organisation changes |
Emails you send yourself
email.confirmation_email | User needs to confirm an address; send the confirmation email |
email.reset_password | User requests a password reset; send the reset email |
Events by resource
| Resource | Events | Payloads |
|---|---|---|
user | 17 | 0 |
email | 12 | 0 |
org | 12 | 0 |
In this hub
| Webhook events → | Every covered PropelAuth event, with payloads where the registry has them. |
| MCP events → | How an agent subscribes to PropelAuth events as MCP events. |
| Verify signatures → | Signature facts, verification code and common failures. |
| Production guide → | Production problems, such as timeouts and retries, and how to handle them. |
| Agent skill → | Install the webhook skill in your coding agent. npx skills add hookdeck/webhook-skills --skill propelauth-webhooks |
Keep an outage from losing a PropelAuth password reset.
Hookdeck Event Gateway accepts every PropelAuth delivery, verifies its signature, stores each event and delivers it at a rate your service can handle, with replay for anything that fails.