Users
Get user
Returns a single user's details by ID, including name, email, and role.
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
userId*string
Response Body
application/json
application/json
application/json
{ "user": { "_id": "6507a1b2c3d4e5f6a7b8c9d0", "name": "John Doe", "email": "john@example.com", "role": "owner", "isRoot": true, "profileAccess": [ "all" ] }}Was this page helpful?
List users
Returns all users in the team including roles and profile access. Also returns the currentUserId of the caller.
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.