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

# List Enrollment Windows

> Lists the windows in which members may make benefit elections. Clasp creates windows from member data.



## OpenAPI

````yaml schemas/2023-08-25/schema.yaml get /enrollment_windows
openapi: 3.0.3
info:
  title: ''
  version: 0.0.0
servers: []
security: []
paths:
  /enrollment_windows:
    get:
      tags:
        - enrollment_windows
      description: >-
        Lists the windows in which members may make benefit elections. Clasp
        creates windows from member data.
      operationId: enrollment_windows_list
      parameters:
        - name: cursor
          required: false
          in: query
          description: The pagination cursor value.
          schema:
            type: string
        - name: page_size
          required: false
          in: query
          description: Number of results to return per page.
          schema:
            type: integer
        - in: query
          name: employer
          description: Filter for windows of members at a specific employer.
          schema:
            type: string
        - in: query
          name: member
          description: Filter for windows of a specific member.
          schema:
            type: string
        - in: query
          name: open_enrollment_window
          description: Filter for windows of a specific open enrollment.
          schema:
            type: string
        - in: query
          name: type
          description: Filter for windows of one or more types.
          schema:
            type: array
            items:
              $ref: '#/components/schemas/EnrollmentWindowTypeEnum'
          explode: true
          style: form
        - in: query
          name: open_on
          description: Filter for windows open on a date (YYYY-MM-DD).
          schema:
            type: string
            format: date
        - in: query
          name: expand[]
          description: 'Replace related IDs with nested objects. Available: member.'
          schema:
            type: array
            items:
              type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedEnrollmentWindowList'
          description: ''
      security:
        - tokenAuth: []
components:
  schemas:
    EnrollmentWindowTypeEnum:
      enum:
        - new_hire
        - open_enrollment
      type: string
      description: |-
        * `new_hire` - Opened by the member being hired or rehired.
        * `open_enrollment` - Opened by the employer's open enrollment.
    PaginatedEnrollmentWindowList:
      type: object
      properties:
        next:
          type: string
          nullable: true
        previous:
          type: string
          nullable: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/EnrollmentWindow'
    EnrollmentWindow:
      type: object
      properties:
        id:
          type: string
          readOnly: true
        member:
          type: string
          readOnly: true
          description: Member ID, or an expanded member object when using expand[].
        open_enrollment_window:
          type: string
          nullable: true
          readOnly: true
          description: Open enrollment window ID, for open_enrollment windows.
        type:
          allOf:
            - $ref: '#/components/schemas/EnrollmentWindowTypeEnum'
          readOnly: true
        event_date:
          type: string
          format: date
          readOnly: true
          description: >-
            The hire date for new_hire windows, or the renewal date for
            open_enrollment windows.
        start_date:
          type: string
          format: date
          readOnly: true
          description: The first day the member may make elections.
        end_date:
          type: string
          format: date
          readOnly: true
          description: The last day the member may make elections.
        dates_adjusted_at:
          type: string
          format: date-time
          nullable: true
          readOnly: true
          description: When the dates were last edited through the API.
      required:
        - id
        - member
        - open_enrollment_window
        - type
        - event_date
        - start_date
        - end_date
        - dates_adjusted_at
  securitySchemes:
    tokenAuth:
      type: http
      scheme: bearer
      description: API Key authentication with required prefix "Bearer"

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.