List users
curl --request GET \ --url 'https://example.com/api/v1/client-members?page=1&perPage=20&status=inactive&review=PENDING' \ --header 'Authorization: Bearer <token>'Lists the users — the people at the workspace’s client companies (client memberships), the app’s Users page — each with the companies they hold and their portal status. Requires the clients.view permission; returns only people of the client companies the caller is assigned to unless the caller also holds clients.view_all, and each person lists only those companies. A person’s status is the first that applies: inactive (membership deactivated), revoked (every company they hold revoked their access), active (can sign in), invited (a live company sent the portal invitation or, for a person with no company, a client invitation is pending), not_invited. statusId narrows to the people with a reachable company in one client status, as the Users page tabs do; filtering and pagination run in the database.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Each whitespace-separated word must match the first name, last name or email.
Each whitespace-separated word must match the first name, last name or email.
Only people on this client company.
Only people on this client company.
Inactive, revoked (no live company), active (can sign in), invited, not_invited. Without clients.view_all, status counts only the client companies the caller reaches.
Inactive, revoked (no live company), active (can sign in), invited, not_invited. Without clients.view_all, status counts only the client companies the caller reaches.
Only people with a company the caller reaches in this client status catalog id (see GET /clients/statuses), or unassigned for people whose reachable companies hold no status and people with none. A person on several companies matches every status those companies hold; an unknown id matches nobody.
Only people with a company the caller reaches in this client status catalog id (see GET /clients/statuses), or unassigned for people whose reachable companies hold no status and people with none. A person on several companies matches every status those companies hold; an unknown id matches nobody.
Only people with this review. People marked SPAM are left out unless asked for here.
Only people with this review. People marked SPAM are left out unless asked for here.
True lists only people who hold no company at all, for placing them. Needs clients.view_all: without it nobody matches.
True lists only people who hold no company at all, for placing them. Needs clients.view_all: without it nobody matches.
Responses
Section titled “Responses”Paginated list of users.
object
A person at one or more client companies, with their portal status.
object
The client companies the person holds that the caller reaches.
object
Data-scope attribute of the person on this company: OWNER, BILLING, LEAD, MEMBER or COLLABORATOR (tickets only).
The last portal invitation or welcome email tried for this company, or null when none is recorded.
The delivery of the last portal invitation or welcome email tried for a contact.
object
When the outcome last changed.
PENDING while handed to the provider, SENT once accepted, FAILED when it never left, then DELAYED, DELIVERED, BOUNCED or COMPLAINED (marked as spam) as the provider reports.
Why the provider refused or bounced it, when it said.
The company’s client status catalog id, or null when it has none.
The person’s contact email in this workspace, from their first company the caller reaches; null when they are on none.
The email the person signs in with. Only they change it, from their profile.
WorkspaceMember id of the client person.
How the person came in, in plain words; Not recorded when nothing reliable says it. Absent on an older server.
Pagination metadata for list responses.
object
Example
{ "data": [ { "companies": [ { "portalInvitation": { "outcome": "PENDING" }, "roles": [ "TICKETS" ] } ], "review": "PENDING", "status": "inactive" } ]}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC