id, contact info (email, firstName, lastName), status (ACTIVE, INVITED, or EXPIRED), role and company-admin flag, optional teamId/teamIds and reportingManagerId. Use GET /users/:userId to resolve an inviter or manager by id, and the Workspace Teams API to resolve team names from teamId or teamIds.
List Workspace Users
Returns a paginated list of everyone in the workspace: active members and invited users (including expired invites). Use query parameters to filter by status, role, company-admin flag, or a search term on name/email.GET /users
Authentication
Requires API key authentication viaAuthorization: Bearer YOUR_API_KEY header.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
page | integer | No | Page number (default: 1) |
perPage | integer | No | Items per page (default: 20, max: 100) |
status | string | No | Comma-separated list: ACTIVE, INVITED, EXPIRED. Only users with these statuses are returned. |
role | string | No | Filter by role. Use internal code (SUPER_ADMIN, ADMIN) or display name (“Super Admin”, “Admin”). |
isCompanyAdmin | boolean | No | If true, only company admins. If false, only non-admins. Omit for all. |
search | string | No | Substring match (case-insensitive) on email, first name, or last name. |
User Object (in list and get-one)
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the user or invite |
email | string | User’s email address |
firstName | string | First name |
lastName | string | Last name |
status | string | One of: ACTIVE (member), INVITED (pending invite), EXPIRED (invite expired) |
role | string or null | Display name for the user’s role (e.g. “Super Admin”, “Admin”). Null if not set. |
isCompanyAdmin | boolean | Whether the user is a company admin. Always false for invited users. |
invitedById | string or null | For invited users, the workspace user id of the person who sent the invite. null for active members. Use this id with GET /users/:userId to fetch inviter details. |
teamId | string or null | Primary team id for the user. First team in teamIds. Use with GET /teams/:teamId to fetch team details. |
teamIds | array of strings | All team ids the user belongs to (active members may have multiple; invited users have one). |
reportingManagerId | string or null | Workspace user id of the user’s reporting manager. null if not set. Use with GET /users/:userId to fetch manager details. |
Example Request
Example Response
Get Workspace User
Returns one user or invite byuserId. Use this after listing users when you need full details for a single person, or to resolve an inviter (invitedById) or reporting manager (reportingManagerId) from another user’s payload. The user or invite must belong to your workspace; otherwise the API returns 404.
GET /users/:userId
Authentication
Requires API key authentication viaAuthorization: Bearer YOUR_API_KEY header.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | The unique identifier of the user or invite |
Example Request
Example Response
Error Response (404)
When the user is not found or does not belong to your workspace:Related
- Workspace Teams — List and fetch teams; use
teamIdorteamIdsfrom the user object to get team names. - API Reference Overview — Base URL and authentication for all partner endpoints.
.png?fit=max&auto=format&n=lKy84_BssSCy2hcz&q=85&s=ac7c949427cc2893306f6036415f087e)