Developers › API reference

Users API

People and service accounts, invitations, roles and privileges.

Objects

A user is a person or a service account (kind), with a role, a status and effective privileges (privilege_adjustments are the per-user grants and removals on top of the role). Roles list each role's default privileges and the most it may hold on an account.

Typical use

Provision people from your HR system: POST /users (an invitation email with a 7-day link), then grant account permissions (PUT /entitlements/{userId}/{accountId}). Leavers: PATCH /users/{id} {"status": "disabled"} (with If-Match). Needs admin:users.

Endpoints

CallWhat it doesScope
GET/usersUsers of the firm (people and service accounts)users:read
GET/users/{id}One user with privilegesusers:read
POST/usersInvite a person (an email with a link)admin:users
PATCH/users/{id}Change role or status (If-Match)admin:users
PUT/users/{id}/privileges/{privilege}Grant, remove or reset one privilegeadmin:users
GET/rolesRoles, their default privileges and maximum account permissionsusers:read