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

# List Consultation Questions

> Retrieves consultation questions in their queue order, optionally filtered by category.



## OpenAPI

````yaml get /consultations
openapi: 3.0.1
info:
  title: SchoolMaker API V1
  description: API for managing your SchoolMaker school
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://schoolmaker.co/api/v1
    description: Production API
security:
  - bearerAuth: []
paths:
  /consultations:
    get:
      tags:
        - Consultations
      summary: List Consultation Questions
      description: >-
        Retrieves consultation questions in their queue order, optionally
        filtered by category.
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 10000
            default: 1
        - name: per_page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 30
            default: 30
        - name: category_id
          in: query
          schema:
            type: string
            minLength: 1
            maxLength: 255
          required: false
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - page
                  - next_page
                properties:
                  data:
                    type: array
                    maxItems: 30
                    items:
                      type: object
                      required:
                        - id
                        - title
                        - category_id
                        - author_id
                        - author_type
                        - treated_at
                        - is_ready
                        - created_at
                        - body
                        - tag_ids
                      properties:
                        id:
                          type: string
                        title:
                          type: string
                        category_id:
                          type: string
                        author_id:
                          type: string
                          nullable: true
                        author_type:
                          type: string
                          nullable: true
                        treated_at:
                          type: string
                          format: date-time
                          nullable: true
                        is_ready:
                          type: boolean
                        created_at:
                          type: string
                          format: date-time
                        body:
                          type: string
                          description: Question body as HTML.
                        tag_ids:
                          type: array
                          items:
                            type: string
                  page:
                    type: integer
                    minimum: 1
                  next_page:
                    type: integer
                    nullable: true
              example:
                data:
                  - id: QUESTION_ID
                    title: Question about lesson planning
                    category_id: CATEGORY_ID
                    author_id: OWNER_USER_ID
                    author_type: User
                    treated_at: null
                    is_ready: true
                    created_at: '2026-10-02T12:00:00.000Z'
                    body: <div class="trix-content"><p>Question details</p></div>
                    tag_ids:
                      - TAG_ID
                page: 1
                next_page: null
        '401':
          description: Missing or invalid API credentials, or unavailable school account.
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    oneOf:
                      - type: string
                      - type: array
                        items:
                          type: string
              example:
                error: Access denied
        '403':
          description: Permission denied.
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    oneOf:
                      - type: string
                      - type: array
                        items:
                          type: string
              example:
                error: You do not have permission to perform this action
        '404':
          description: Missing or inaccessible record.
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    oneOf:
                      - type: string
                      - type: array
                        items:
                          type: string
              example:
                error: Record not found
        '422':
          description: Invalid parameters or question details.
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    oneOf:
                      - type: string
                      - type: array
                        items:
                          type: string
              example:
                error: 'Invalid arguments: /attributes/is_ready boolean'
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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