> ## 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.

# Get Admin Tasks

> Lists org admin tasks filtered by employee, status and type, paginated with total.

Required scope: `people:read`

## OpenAPI

````yaml api-reference/openapi.json POST /platform/get-admin-tasks
openapi: 3.1.0
info:
  title: Toku API
  version: 1.0.0
servers:
  - url: https://api.toku.com
security:
  - bearerAuth: []
paths:
  /platform/get-admin-tasks:
    post:
      operationId: getAdminTasks
      summary: Get Admin Tasks
      x-toku-required-scope: people:read
      description: >-
        Lists org admin tasks filtered by employee, status and type, paginated
        with total.


        Required scope: `people:read`
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetAdminTasksRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAdminTasksResponse'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '429':
          description: Response 429
components:
  schemas:
    GetAdminTasksRequest:
      type: object
      properties:
        roleInOrgId:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - PENDING
            - IN_PROGRESS
            - COMPLETED
            - BLOCKED
            - CANCELLED
        taskTypes:
          type: array
          items:
            type: string
            enum:
              - I9_SECTION_2_REVIEW
              - EVERIFY_SUBMISSION
              - NEW_HIRE_STATE_REPORTING
              - W4_TRANSMISSION_TO_PAYROLL
              - BANKING_TRANSMISSION_TO_PAYROLL
              - BACKGROUND_CHECK_INITIATION
              - BENEFITS_ENROLLMENT_INVITE
              - RIGHT_TO_WORK_VERIFICATION
              - PF_ESI_REGISTRATION
              - ADDRESS_CHANGE_TAX_RECALC
              - SSN_CHANGE_VERIFICATION
              - CRYPTO_WALLET_REVERIFICATION
              - NAME_CHANGE_NOTIFICATION
              - CUSTOM
          minItems: 1
        excludeSubmittedOnboardings:
          type: boolean
        excludeCompletedOnboardings:
          type: boolean
        limit:
          type: integer
          minimum: 1
          maximum: 200
          default: 50
        offset:
          type: integer
          minimum: 0
          default: 0
      required:
        - limit
        - offset
    GetAdminTasksResponse:
      type: object
      properties:
        tasks:
          type: array
          items: {}
        total:
          type: integer
      description: Request regeneration does not infer response shapes.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
````
