Purpose
Syncs organization member changes to the database automatically when Clerk events occur.Handled Events
Architecture
Signature Verification
Uses Svix headers (svix-id, svix-timestamp, svix-signature) and CLERK_WEBHOOK_SECRET.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Architecture for the Clerk Webhook endpoint
| Event | Action |
|---|---|
organization.created | Create org record, sync members |
organization.updated | Update org name, sync members |
organization.deleted | Clear members |
organizationMembership.created | Re-sync all members |
organizationMembership.deleted | Re-sync all members |
organizationMembership.updated | Re-sync all members |
svix-id, svix-timestamp, svix-signature) and CLERK_WEBHOOK_SECRET.
src/app/webhooks/clerk_webhook/routes.py