Skip to main content
Access user accounts via the Public API. List users, filter by organization or email, retrieve individual profiles, create or update a user before their first login, and grant or revoke their permissions.

Authentication

Read endpoints require an API key with the accounts:read scope. Creating or updating a user requires the accounts:write scope.
See API Key Authentication for setup instructions.

List Users

Get a paginated list of users with optional filtering.

Query Parameters

Response

Response Fields

Examples

List users in a specific organization:
Search by name:
Filter by exact email:

Get User

Get a single user by ID.

Path Parameters

Response

The single-user response also includes the user’s currently assigned permissions.

Create or Update a User

Create a user, or update the existing one matched by email, with pre-assigned information. The user is matched by email at first login and reused, so no duplicate is created. Returns 201 when a new user is created and 200 when an existing user is updated.
Requires the accounts:write scope.

Body Parameters

Admin (staff) status cannot be set through the API.

Example

The response body is the same user object returned by Get User.

Grant Permissions to a User

Add one or more permissions to a user without removing the ones they already have. Re-granting a permission the user already holds has no effect.
Requires the accounts:write scope.

Path Parameters

Body Parameters

Example

The response is the updated user object, including its full permissions list.

Revoke a Permission

Remove a single permission from a user, leaving the rest unchanged.
Requires the accounts:write scope.

Path Parameters

Example

The response is the updated user object, including its remaining permissions list.

MCP Tools

These endpoints are also available as MCP tools for AI agent integrations:

Error Handling

All endpoints return errors in the standard format: