v1
latestOpenAPI 3.0.22026-08-062794201004.1 KBUsers
Get User
Fetches the details of the given user.
In order to access this endpoint, the provided API key must have at least one of the following roles:
- Organization Owner
- Organization Member
- Project Creator
The results are always limited by the role and scope of the caller's privileges.
When performing a GET request for a user with an organization owner role, the response will exclude project-level permissions for that user. This is because organization owners have access to all resources at the organization level, rendering project-level permissions unnecessary for them.
To learn more about the roles, see Organization Roles and Project Roles.
get/v4/organizations/{organizationId}/users/{userId}
Response
Successfully fetched the user based on the userId.
Example response
{
"id": "ffffffff-aaaa-1414-eeee-000000000000",
"name": "alex",
"email": "john.doe@example.com",
"status": "not-verified",
"organizationId": "ffffffff-aaaa-1414-eeee-000000000000",
"organizationRoles": [
"projectCreator"
],
"lastLogin": "2023-07-17T07:05:39.116124897Z",
"region": "North America",
"timeZone": "(UTC -9:00) Alaska Standard Time",
"enableNotifications": true,
"expiresAt": "2023-07-17T07:05:39.116124897Z",
"resources": [
{
"type": "project",
"id": "ffffffff-aaaa-1414-eeee-000000000000",
"roles": [
"projectManager"
]
}
],
"audit": {
"createdBy": "ffffffff-aaaa-1414-eeee-000000000000",
"createdAt": "2021-09-01T12:34:56Z",
"modifiedBy": "ffffffff-aaaa-1414-eeee-000000000000",
"modifiedAt": "2021-09-01T12:34:56Z",
"version": 1
}
}