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

# Get Lms Users

> Returns a list of LMS User objects.



## OpenAPI

````yaml get /api/lms/v1/users
openapi: 3.1.0
info:
  title: Bindbee APIs
  version: 0.1.0
servers:
  - url: https://api.bindbee.dev
  - url: https://api-eu.bindbee.dev
security: []
paths:
  /api/lms/v1/users:
    get:
      tags:
        - Users
      summary: Get Lms Users
      description: Returns a list of LMS User objects.
      operationId: get_lms_users_api_lms_v1_users_get
      parameters:
        - name: ids
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: If provided, will only return users for these IDs.
            examples:
              - >-
                018b18ef-c487-703c-afd9-0ca478ccd9d6,018b18ef-c487-703c-afd9-0ca478ccd9d7
            title: Ids
          description: If provided, will only return users for these IDs.
        - name: remote_id
          in: query
          required: false
          schema:
            type: string
            description: The third-party API ID of the matching object.
            title: Remote Id
          description: The third-party API ID of the matching object.
        - name: email_address
          in: query
          required: false
          schema:
            type: string
            description: If provided, will only return users for this email address.
            examples:
              - john@doe.com
            title: Email Address
          description: If provided, will only return users for this email address.
        - name: status
          in: query
          required: false
          schema:
            $ref: '#/components/schemas/LMSUserStatus'
            description: If provided, will only return enrollments for this status.
            examples:
              - ACTIVE
          description: If provided, will only return enrollments for this status.
        - name: include_raw_data
          in: query
          required: false
          schema:
            type: boolean
            description: >-
              Whether to include the original data Bindbee fetched from the
              third-party to produce these models.
            examples:
              - false
            default: false
            title: Include Raw Data
          description: >-
            Whether to include the original data Bindbee fetched from the
            third-party to produce these models.
        - name: include_custom_fields
          in: query
          required: false
          schema:
            type: boolean
            description: Whether to include custom fields in the response.
            examples:
              - false
            default: false
            title: Include Custom Fields
          description: Whether to include custom fields in the response.
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            description: Number of results to return per page. Maximum size is 200.
            default: 50
            title: Page Size
          description: Number of results to return per page. Maximum size is 200.
        - name: cursor
          in: query
          required: false
          schema:
            type: string
            description: The pagination cursor value.
            title: Cursor
          description: The pagination cursor value.
        - name: x-connector-token
          in: header
          required: true
          schema:
            type: string
            title: X-Connector-Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LmsUserPaginatedResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    LMSUserStatus:
      type: string
      enum:
        - ACTIVE
        - PENDING
        - INACTIVE
      title: LMSUserStatus
    LmsUserPaginatedResponse:
      properties:
        cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Cursor
          description: Cursor value to fetch next set of items
          examples:
            - MDE4YjE4ZWYtYzk5Yy03YTg2LTk5NDYtN2I3YzlkNTQzM2U1
        page_size:
          type: integer
          title: Page Size
          description: Indicates the count of items in the response
          examples:
            - 50
        items:
          items:
            $ref: '#/components/schemas/LmsUser'
          type: array
          title: Items
      type: object
      required:
        - cursor
        - page_size
        - items
      title: LmsUserPaginatedResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    LmsUser:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          examples:
            - 018b18ef-c487-703c-afd9-0ca478ccd9d6
        remote_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Remote Id
          description: The third-party API ID of the matching object.
          examples:
            - '123321'
        modified_at:
          type: string
          title: Modified At
          description: This is the datetime that this object was last updated by Bindbee
          examples:
            - '2021-10-16T00:00:00Z'
        raw_data:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Raw Data
          description: This is the Raw data
          examples:
            - key_1: Platform dependent data 1
              key_2: Platform dependent data 2
        custom_fields:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Custom Fields
          description: The custom fields related to the model
          examples:
            - category_group: REG
              disability_type: ASBERG
              hire_date: '1991-03-16T00:00:00'
              hire_source: REFER
              nationality: USA
              original_hire_date: '1991-03-16T00:00:00'
        first_name:
          anyOf:
            - type: string
            - type: 'null'
          title: First Name
          description: The first name of the user
          examples:
            - Jane
        last_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Name
          description: The last name of the user
          examples:
            - Doe
        middle_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Middle Name
          description: The middle name of the user
          examples:
            - A.
        email_address:
          anyOf:
            - type: string
            - type: 'null'
          title: Email Address
          description: The email address of the user
          examples:
            - jane.doe@example.com
        phone_number:
          anyOf:
            - type: string
            - type: 'null'
          title: Phone Number
          description: The phone number of the user
          examples:
            - +1 415 555 1212
        status:
          anyOf:
            - type: string
            - type: 'null'
          enum:
            - ACTIVE
            - PENDING
            - INACTIVE
          title: Status
          description: >-
            The status of the user. If the value is not one of the defined enum
            values, the original value passed through will be returned.
          examples:
            - ACTIVE
      type: object
      required:
        - id
        - remote_id
        - modified_at
        - custom_fields
      title: LmsUser
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````