Retrieve a customer
Fetch a single customer (user) by their ID, including their environment memberships.
GET
Returns the user record scoped to the authenticated tenant. Returns
404 if the user does not exist or belongs to a different tenant.
Users are referred to as customers in the product UI. In the API they are
/users resources.Path parameters
The user’s MongoDB ObjectId, as returned by List customers or the Add customer endpoint.
Returns
A full user object with environment memberships.User ID (MongoDB ObjectId).
Full display name.
Email address.
Phone number in E.164 format.
Owning tenant identifier.
Primary environment this user belongs to.
User role —
"user", "admin", "compliance", "support", "viewer".Account status —
"invited", "active", "disabled".List of environment memberships. Each entry contains
environmentId and environmentName.ISO 8601 UTC creation timestamp.
ISO 8601 UTC last-updated timestamp.
Error codes
| Status | Code | Meaning |
|---|---|---|
401 | UNAUTHORIZED | Missing or invalid authentication. |
403 | FORBIDDEN | Caller does not have user.view.one permission. |
404 | NOT_FOUND | No user with this ID exists under the authenticated tenant. |