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

# Export Hris Change Requests Csv

> Exports every change request matching dashboard filters (max 10k rows) as CSV and writes an audit log row.

Not available to API keys.

## OpenAPI

````yaml api-reference/openapi.json POST /hris/export-hris-change-requests-csv
openapi: 3.1.0
info:
  title: Toku API
  version: 1.0.0
servers:
  - url: https://api.toku.com
security:
  - bearerAuth: []
paths:
  /hris/export-hris-change-requests-csv:
    post:
      operationId: exportHrisChangeRequestsCsv
      summary: Export Hris Change Requests Csv
      description: >-
        Exports every change request matching dashboard filters (max 10k rows)
        as CSV and writes an audit log row.


        Not available to API keys.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExportHrisChangeRequestsCsvRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExportHrisChangeRequestsCsvResponse'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '429':
          description: Response 429
components:
  schemas:
    ExportHrisChangeRequestsCsvRequest:
      type: object
      properties:
        status:
          type: string
          enum:
            - PENDING
            - APPROVED
            - REJECTED
            - CANCELLED
            - AUTO_APPROVED
        category:
          type: string
          enum:
            - NEW_HIRE
            - PERSONAL_INFO
            - BUSINESS_ENTITY
            - EMERGENCY_CONTACT
            - COMPENSATION
            - EMPLOYMENT
            - TAX_INFO
            - TERMINATION
            - EMPLOYMENT_TYPE
            - WORK_AUTH
            - WALLET
            - BENEFITS_NETWORK
            - ADDITIONAL_COMPENSATION
            - STABLECOIN_ALLOCATION
            - PROVIDENT_FUND
        search:
          type: string
          maxLength: 200
          description: >-
            NOTE(ck): a .transform() rule is not mirrored here; TGA still
            enforces it
        statuses:
          type: array
          items:
            oneOf:
              - type: string
                enum:
                  - PENDING
                  - APPROVED
                  - REJECTED
                  - CANCELLED
                  - AUTO_APPROVED
              - const: SCHEDULED
        categories:
          type: array
          items:
            oneOf:
              - type: string
                enum:
                  - NEW_HIRE
                  - PERSONAL_INFO
                  - BUSINESS_ENTITY
                  - EMERGENCY_CONTACT
                  - COMPENSATION
                  - EMPLOYMENT
                  - TAX_INFO
                  - TERMINATION
                  - EMPLOYMENT_TYPE
                  - WORK_AUTH
                  - WALLET
                  - BENEFITS_NETWORK
                  - ADDITIONAL_COMPENSATION
                  - STABLECOIN_ALLOCATION
                  - PROVIDENT_FUND
              - const: TIME_OFF
              - const: BASE_SALARY
        orgIDs:
          type: array
          items:
            type: string
            format: uuid
          maxItems: 200
        orgTypes:
          type: array
          items:
            type: string
            enum:
              - CLIENT_ORGANIZATION
              - DEMO_ORGANIZATION
              - TOKU_ORGANIZATION
              - STABLECOIN_DEMO_ORGANIZATION
        countries:
          type: array
          items:
            type: string
            minLength: 1
            maxLength: 100
          maxItems: 200
        employmentTypes:
          type: array
          items:
            type: string
            enum:
              - CONTRACTOR
              - EMPLOYEE
              - EX_EMPLOYEE
              - ADVISOR
              - SERVICE_PROVIDER
              - OTHER
        requestedByRoleInOrgIDs:
          type: array
          items:
            type: string
            format: uuid
          maxItems: 200
        terminationBatchId:
          type: string
          format: uuid
        sortBy:
          type: string
          enum:
            - requestedAt
            - employeeName
            - orgName
            - status
            - category
        sortDirection:
          type: string
          enum:
            - asc
            - desc
        includeTimeOff:
          type: boolean
    ExportHrisChangeRequestsCsvResponse:
      type: object
      properties: {}
      description: Request regeneration does not infer response shapes.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
````
