schemas/user
The User object returned by user/get and user/get_by_id.
| field | type | constraints | description |
|---|---|---|---|
| userId | string | uuid | Unique identifier (GUID). |
| createdAt | string | date-time | When the user account was registered. |
| string | email, max 128 | User email address. | |
| emailConfirmed | boolean | Whether the user has confirmed their email. | |
| firstName | string | max 512 | First name. |
| lastName | string | max 512 | Last name. |
| accountType | string | one of: SingleUnibox, SingleReports, SingleSenders, User, Editor, Admin, SuperAdmin | Permission level. |
accountType roles
| value | access level |
|---|---|
| SingleUnibox | Unibox-only access. |
| SingleReports | Reports-only access. |
| SingleSenders | Senders-only access. |
| User | Standard user (read/write own data). |
| Editor | Extended user access. |
| Admin | Account admin (level 100). |
| SuperAdmin | Full access (level 110). |