# CreateInviteDTO

Type: object

Schema: [CreateInviteDTO](https://sourcey-gauzy.pages.dev/api-reference/models/createinvitedto/index.md)

- `tenant` (optional)
  Type: object

- `tenantId` (optional)
  Type: string

- `organization` (required)
  Type: object

- `organizationId` (required)
  Type: string

- `sentTo` (optional)
  Type: string

- `emailIds` (required)
  Type: array
  
  Items:
    Type: string

- `teamIds` (optional)
  Type: array
  
  Items:
    Type: string

- `inviteType` (required)
  Type: string
  
  enum: ["USER","EMPLOYEE","CANDIDATE","TEAM"]

- `startedWorkOn` (optional)
  Type: string, date-time

- `invitationExpirationPeriod` (optional)
  Type: string
  
  enum: [1,7,14,30,"Never"]

- `fullName` (optional)
  Type: string

- `callbackUrl` (optional)
  Type: string

- `roleId` (required)
  Type: string

- `role` (required)
  Type: object
  
  Role reference: an object with the role `id` (UUID).