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.
Fields
Section titled “Fields”Every field is present in a response; empty ones are null.
| Field | Type | Description |
|---|---|---|
user | User | The calling user. |
tenant | CurrentUserTenant | The caller’s tenant. |
roles | string[] | The roles this session or API key is authorised with, such as Tenant.Admin or Tenant.User. |
isSuperAdmin | boolean | Whether this session belongs to one of the platform’s own administrators. Always false for an API key. |
Example
Section titled “Example”{ "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}Where it’s used
Section titled “Where it’s used”users.self(GET /users/self)