List Custom Units
The custom units of the Project, oldest first. A rule's custom reward gives a quantity of one of them.
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 <= 512Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/custom-units?projectId=string"{ "customUnits": [ { "id": "string", "key": "string", "name": "string", "namePlural": "string", "archived": true, "createdAt": "string", "updatedAt": "string" } ], "success": true}List Connections GET
List the provider connections of a Project (billing sources and stores) with their state. No credentials are returned. Needs the integrations:read key permission.
List Events GET
List the Events of a Project, newest first, 50 per page, with their processing state. Use diagnose_event for one Event. Needs the referrals:read key permission.