GET
Returns customers belonging to the authenticated tenant. Without environmentId, results are scoped to the environment resolved from the authenticated API key (live keys return live customers, sandbox keys return sandbox customers). Pass environmentId explicitly to query a specific environment.
Requires API-key scope tenant-users.read and tenant permission user.view.all.

Query parameters

integer
default:"1"
Page number (1-indexed).
integer
default:"10"
Number of results per page. Maximum 100.
Free-text search across name and email fields. Case-insensitive partial match.
string
Filter results to customers in this specific environment. When provided, overrides the environment resolved from the API key.
Use the List environments endpoint to get valid environment IDs.

Returns

array
Array of customer objects for the current page.
number
Total number of customers matching the query.
number
Current page number.
number
Page size in effect.
number
Total number of pages.
Each users entry includes:
string
Customer’s MongoDB ObjectId.
string
Full display name.
string
Normalized lowercase email address.
string
Normalized E.164 phone number.
string
Owning tenant identifier.
string | null
Primary environment this customer belongs to.
string | null
Your system’s identifier for this customer, if set via Add a customer or Add customers in bulk.
string
"inactive" — created but not yet accepted an invitation.
"active" — accepted at least one account invitation.
"disabled" — account disabled by admin.
string
ISO 8601 UTC creation timestamp.

Error codes