Skip to content

CurrentUserResponse

Who the caller is (GET /users/self): their user, their tenant, and the roles this session or API key is authorised with.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
userUserThe calling user.
tenantCurrentUserTenantThe caller’s tenant.
rolesstring[]The roles this session or API key is authorised with, such as Tenant.Admin or Tenant.User.
isSuperAdminbooleanWhether this session belongs to one of the platform’s own administrators. Always false for an API key.
{
"user": {
"name": "...",
"emailAddress": "...",
"isEnabled": false,
"roles": [
"..."
],
"isEmailAddressVerified": false,
"tenantId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"dateCreated": "2026-10-26T12:00:00.0000000Z",
"dateUpdated": "2026-10-26T12:00:00.0000000Z"
},
"tenant": {
"id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"name": "..."
},
"roles": [
"..."
],
"isSuperAdmin": false
}