# This is typically called by Clerk, not manually
curl -X POST "https://searchcompany-main.up.railway.app/webhooks/clerk" \
-H "Content-Type: application/json" \
-H "svix-id: msg_abc123" \
-H "svix-timestamp: 1234567890" \
-H "svix-signature: v1,abc123..." \
-d '{
"type": "organizationMembership.created",
"data": {
"id": "orgmem_abc123",
"organization": {
"id": "org_xyz789",
"name": "Acme Corp"
},
"public_user_data": {
"user_id": "user_123",
"first_name": "John",
"last_name": "Doe",
"identifier": "john@example.com"
},
"role": "org:admin"
}
}'