Invite a platform admin
Creates or re-enables a platform admin account for an email address and returns it. Platform admins only, and owner-only while the `require-owner-for-admin-invites` policy is on; a request without an email address is rejected as a validation error. Idempotent by email: inviting an address that is already an active admin returns the existing record.
Authorization
apiKey Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/admin/admins" \ -H "Content-Type: application/json" \ -d '{ "email": "string" }'{ "data": { "id": "string", "email": "string", "displayName": "string", "role": "owner", "status": "active", "createdAt": "string", "activatedAt": "string" }}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}List the platform admin accounts
Returns every platform admin with its role, status, and activation time. Platform admins only.
Read the platform billing overview
Returns the plans, price rows, and AI top-up products behind Snoze pricing. Opening the surface also provisions the Polar product for every price and top-up pack, which is idempotent, so the response always carries current product ids. Platform admins only.