List customers
Return a paginated list of customers under the authenticated tenant, optionally filtered by environment.
GET
Returns customers belonging to the authenticated tenant. Without
Each
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 the
user.view.all permission on the authenticated API key or role.Query parameters
Page number (1-indexed).
Number of results per page. Maximum
100.Free-text search across
name and email fields. Case-insensitive partial match.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.
Use the List environments endpoint to get valid environment IDs.
Returns
Array of customer objects for the current page.
Total number of customers matching the query.
Current page number.
Page size in effect.
Total number of pages.
users entry includes:
Customer’s MongoDB ObjectId.
Full display name.
Normalized lowercase email address.
Normalized E.164 phone number.
Owning tenant identifier.
Primary environment this customer belongs to.
Your system’s identifier for this customer, if set via Add a customer or Add customers in bulk.
"inactive" — created but not yet accepted an invitation."active" — accepted at least one account invitation."disabled" — account disabled by admin.ISO 8601 UTC creation timestamp.
Error codes
| Status | Meaning |
|---|---|
401 | Missing or invalid API key pair. |
403 | Caller does not have user.view.all permission. |