# UserDetail__v2

Source: https://developer.synup.com/schemas/user-detail-v2

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | required | Unique identifier for the user |
| `firstName` | string | required | User's first name |
| `lastName` | string | optional | User's last name |
| `email` | string | required | User's email address |
| `customRole` | object | required |  |
| `customRole.id` | string | optional | Role identifier |
| `customRole.name` | string | optional | Role name |
| `directCustomer` | boolean | required | Indicates if the user is a direct customer |
| `createdAt` | string | required | Timestamp when the user was created |
| `inviteStatus` | string | required | Current status of the user's invitation One of: `ACTIVE`, `INVITE_SENT`, `RESEND_INVITE` |
| `preferences` | object | optional |  |
| `preferences.locale` | string | optional | User's locale preference |
| `preferences.dateFormat` | string | optional | User's preferred date format |
| `preferences.timezone` | string | optional | User's timezone preference |
