# CreateUserResponse

Source: https://developer.synup.com/schemas/create-user-response

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | object | optional |  |
| `data.addUser` | object | optional |  |
| `data.addUser.success` | boolean | optional | Indicates if the user creation was successful |
| `data.addUser.errors` | array of string | optional | Array of error messages if any |
| `data.addUser.user` | object | optional |  |
| `data.addUser.user.id` | string | optional | Unique identifier for the created user |
| `data.addUser.user.createdAt` | string | optional | Timestamp when the user was created |
| `data.addUser.user.directCustomer` | boolean | optional | Indicates if the user is a direct customer |
| `data.addUser.user.email` | string | optional | User's email address |
| `data.addUser.user.firstName` | string | optional | User's first name |
| `data.addUser.user.lastName` | string | optional | User's last name |
| `data.addUser.user.inviteStatus` | string | optional | Current status of the user's invitation One of: `ACTIVE`, `INVITE_SENT`, `RESEND_INVITE` |
| `data.addUser.user.customRole` | object | optional |  |
| `data.addUser.user.customRole.id` | string | optional | Role identifier |
| `data.addUser.user.customRole.name` | string | optional | Role name |
| `data.addUser.user.accountId` | string | optional | ID of the account the user belongs to |
| `data.addUser.user.preferences` | object | optional |  |
| `data.addUser.user.preferences.locale` | string | optional | User's locale preference |
| `data.addUser.user.preferences.dateFormat` | string | optional | User's preferred date format |
| `data.addUser.user.preferences.timezone` | string | optional | User's timezone preference |
| `data.addUser.user.preferences.columnOrder` | string | optional | User's column order preference |
