List Webhook Events
Webhook events in commit order after the cursor. A late commit never appears behind a cursor, so a product that missed webhooks catches up from its last next. The webhooks section lists each event type and its data.
Authorization
WorkspaceApiKey Workspace-owned Better Auth API key of one environment (Sandbox or Live); it authorizes the Projects of that environment in its Workspace. A Project of the other environment returns 403 ENVIRONMENT_MISMATCH. Never expose it in the browser.
In: header
Query Parameters
\S1 <= length <= 5121 <= length <= 10241 <= value <= 500100Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/webhook-events?projectId=string"{ "events": [ { "id": "string", "type": "participant.created", "apiVersion": "2026-10-04", "occurredAt": "string", "projectId": "string", "environment": "sandbox", "data": { "participant": { "participantId": "string", "kind": "individual", "externalId": "string", "partnerId": "string" } } } ], "next": "string", "success": true}List Webhook Endpoints GET
The webhook endpoints of the Project, oldest first, without their secrets.
List Widget Referrals GET
The referrals where the participant that the Widget token names is the referrer, in the referral Program of the token, newest first. The token needs the widget:read scope. A participant that the Project does not have gets an empty list; the route creates no participant. An affiliate or loyalty Program gets 404 NOT_FOUND; a cursor that is not valid gets 400 INVALID_REQUEST. The response is not cached (Cache-Control: private, no-store).