> ## Documentation Index
> Fetch the complete documentation index at: https://docs.health-street.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Create User

> Create a new User



## OpenAPI

````yaml post /v2/action/glasscore/user
openapi: 3.1.0
info:
  version: 2.0.0
  title: Health Street API
  description: >-
    The Health Street API provides secure and reliable endpoints to manage drug
    tests, background checks, DNA checks, and occupational health tests.
servers:
  - url: https://api.glass.fm
security: []
paths:
  /v2/action/glasscore/user:
    post:
      tags:
        - User
      summary: Create User
      description: Create a new User
      operationId: CreateUser
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                avatar:
                  type: string
                  description: URL or identifier for the user's profile image.
                email:
                  type: string
                  description: The email address associated with the user's account.
                getInvoiceEmail:
                  type: boolean
                  nullable: true
                getMarketingEmail:
                  type: boolean
                  nullable: true
                getMarketingText:
                  type: boolean
                  nullable: true
                getOrderItemRegistrationEmail:
                  type: boolean
                  nullable: true
                getOrderItemRegistrationText:
                  type: boolean
                  nullable: true
                getOrderItemResultEmail:
                  type: boolean
                  nullable: true
                getOrderItemResultText:
                  type: boolean
                  nullable: true
                getOrderItemStatusEmail:
                  type: boolean
                  nullable: true
                getOrderItemStatusText:
                  type: boolean
                  nullable: true
                getOrgMonthRandomsEmail:
                  type: boolean
                  nullable: true
                isInvited:
                  type: boolean
                  nullable: true
                  description: ' Indicates whether the user has been invited but not yet registered.'
                isSuspended:
                  type: boolean
                  nullable: true
                  description: Indicates whether the user's account is currently suspended.
                nameFirst:
                  type: string
                  minLength: 1
                  description: The user's first name.
                nameLast:
                  type: string
                  minLength: 1
                  description: The user's last name.
                nickname:
                  type: string
                PersonId:
                  type: number
                  nullable: true
                  description: >-
                    Identifier for the associated person record, nullable if not
                    linked.
                phone:
                  type: string
                  description: The user's phone number.
                RoleId:
                  type: number
                  description: Identifier for the user's role or permission level.
                UserOverride:
                  type: array
                  items:
                    type: object
                    properties:
                      add:
                        type: string
                      blockDrop:
                        type: boolean
                        nullable: true
                      delete:
                        type: string
                      edit:
                        type: string
                      EntityId:
                        type: number
                      get:
                        type: string
                      UserId:
                        type: number
                    required:
                      - EntityId
                      - UserId
              required:
                - nameFirst
                - nameLast
                - RoleId
      responses:
        '200':
          description: User

````