# UsersResponse

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

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | object | optional |  |
| `data.users` | object | optional |  |
| `data.users.totalCount` | integer | optional | Total number of users in the system |
| `data.users.pageInfo` | object | optional |  |
| `data.users.pageInfo.hasNextPage` | boolean | optional | Indicates if there are more pages after the current page |
| `data.users.pageInfo.hasPreviousPage` | boolean | optional | Indicates if there are previous pages before the current page |
| `data.users.pageInfo.total` | integer | optional | Number of items in the current page |
| `data.users.pageInfo.endCursor` | string | optional | Cursor for the last item in the current page |
| `data.users.edges` | array of object | optional |  |
| `data.users.edges[].cursor` | string | optional | Unique cursor for this user record |
| `data.users.edges[].node` | object | optional |  |
| `data.users.edges[].node.id` | string | required | Unique identifier for the user |
| `data.users.edges[].node.email` | string | required | User's email address |
| `data.users.edges[].node.firstName` | string | required | User's first name |
| `data.users.edges[].node.lastName` | string | optional | User's last name (optional) |
| `data.users.edges[].node.customRole` | object | required |  |
| `data.users.edges[].node.customRole.id` | string | optional | Role identifier |
| `data.users.edges[].node.customRole.name` | string | optional | Role name |
| `data.users.edges[].node.directCustomer` | boolean | required | Indicates if the user is a direct customer |
| `data.users.edges[].node.createdAt` | string | required | Timestamp when the user was created |
| `data.users.edges[].node.inviteStatus` | string | required | Current status of the user's invitation One of: `ACTIVE`, `INVITE_SENT`, `RESEND_INVITE` |
