# UsersByIdsResponse__v2

Source: https://developer.synup.com/schemas/users-by-ids-response-v2

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