List clients
GET/clients
Scope read:clientsRead only
Requires the read:clients scope (or management), and the staff member who made the key must be allowed to do this in the portal right now.
Parameters
limitPage size, 1 to 100 (default 25).
cursorOpaque continuation token: pass back the nextCursor you were given. Never construct one.
searchMatch on client name or domain.
statusClient status, or all.
includeInactivetrue to include inactive clients (hidden by default).
Response 200
dataRequiredThe response payload.
data[].idRequiredRecord id (use it to link or fetch the record).
data[].nameRequiredDisplay name.
data[].domainRequiredPrimary domain of the client, or null for an individual client (no domain).
data[].statusRequiredClient status (e.g. ACTIVE, INACTIVE).
data[].clientTypeRequiredClient type.
data[].tierRequiredService tier.
data[].planNameRequiredName of the client core plan, or null.
data[].industryRequiredIndustry, or null.
data[].employeeCountRequiredEmployee count, or null.
data[].phoneRequiredMain phone number, or null.
data[].primaryContactRequiredThe primary contact (name and email, each possibly null).
data[].primaryContact.nameRequiredDisplay name.
data[].primaryContact.emailRequiredEmail address, or null.
data[].isCoManagedRequiredTrue when the client is co-managed.
data[].portalEnabledRequiredTrue when the client portal is enabled.
nextCursorRequiredOpaque cursor for the next page; pass it back as ?cursor=. Null on the last page.
Errors (401, 403, 404, 429)
401Missing or invalid API key (apiKeyRequired / apiKeyInvalid). A key also stops working, with apiKeyInvalid, when the staff member who made it is deactivated, blocked or removed.403The key may not do this (apiKeyScopeInsufficient when it lacks the required scope, apiKeyMakerInsufficient when the staff member who made it does not hold the permission now). Or its organization is inactive (apiKeyOrgInactive). Or the key is limited to one client, which is not supported yet (apiClientKeyUnsupported).404Not found for this key (a record in another organization is also a 404, never a 403).429Rate limit exceeded; wait Retry-After seconds.