POST
/
v2
/
webhooks
/
clerk
Sync Clerk organization and membership events
curl --request POST \
  --url https://api-v2.watchcollect.com/v2/webhooks/clerk \
  --header 'Content-Type: application/json' \
  --header 'Svix-Signature: <api-key>' \
  --data '
{
  "type": "organization.created",
  "data": {}
}
'
{
  "status": "accepted",
  "event_ids": [
    "018f06e2-4f8d-7c01-8a0d-cc6fd78f7002"
  ],
  "request_id": "018f06e2-4f8d-7c01-8a0d-cc6fd78f7001"
}

Authorizations

Svix-Signature
string
header
required

Body

application/json
type
string
required
Example:

"organization.created"

data
object
required

Clerk event payload. Shape depends on the event type; backend reads only organization, membership and invitation identifiers needed for workspace sync.

Response

Webhook accepted or ignored.

status
enum<string>
required
Available options:
accepted,
duplicate_accepted,
rejected,
conflict,
noop
event_ids
string<uuid>[]
required
request_id
string
required
resource_id
string | null