Create invite token
Generate a secure invite link to grant team members access to your profiles. Invites expire after 7 days and are single-use.
Returns 403 when a requested profile is not found or not owned, or when called with a restricted (zrk_) API key: invite management is admin-plane.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Body
application/jsonWhat every request needs
all | profiles'all' grants access to all profiles, 'profiles' restricts to specific profiles
Optional parameters4 fields
Required if scope is 'profiles'. Array of profile IDs to grant access to.
memberOne of admin | member | billing_admin | viewerOrg role granted to the invitee. Defaults to 'member'.
- 'admin': manages the team (invite/remove members, change roles and access) and billing, but not ownership transfer or account deletion.
- 'billing_admin' (displayed as Billing Manager): manages billing only.
- 'viewer': a read-only member who can view everything in their profile scope but cannot perform any content mutation (publish, edit, delete, connect accounts).
Resource groups the invitee may not use once they join (the same groups as restricted API keys). Omitted or empty means full access.
Their dashboard hides those sections, and every API request into a disabled group, with any credential they hold, is refused with 403. Groups the caller lacks themselves are always added.
Deprecated. Use role 'viewer' instead. When true, the invite is created with role 'viewer'. Cannot be combined with role 'billing_admin' or 'admin'.
Responses
Success· the request worked
Errors· the request failed
Get user
Returns a single user's details by ID, including name, email, and role.
Get content retention mode
Returns whether your team stores content. `none` is zero content retention: Zernio keeps identifiers and metadata only, and content fields come back as `null` with `contentNotRetained: true`. See the zero content retention guide for what changes.