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

# List authorized patient consultation requests



## OpenAPI

````yaml /openapi/nimbo_patient_portal.yml get /api/v1/patient_portal/people/{person_id}/consultation_requests
openapi: 3.1.0
info:
  title: Nimbo patient portal
  version: 1.0.0
  description: >-
    Nimbo API reference. Use the API host and integration access provided by
    Nimbo.
servers:
  - url: https://api.example.test
security: []
tags:
  - name: Patient Portal
  - name: Patient portal authentication
paths:
  /api/v1/patient_portal/people/{person_id}/consultation_requests:
    get:
      tags:
        - Patient Portal
      summary: List authorized patient consultation requests
      operationId: listPatientPortalPersonConsultationRequests
      parameters:
        - name: person_id
          in: path
          required: true
          schema:
            type: integer
          example: 123
      responses:
        '200':
          description: Pending matching consultation requests for the authorized patient.
          content:
            application/json:
              schema:
                type: object
                required:
                  - consultation_requests
                additionalProperties: false
                properties:
                  consultation_requests:
                    type: array
                    items:
                      type: object
                      required:
                        - id
                        - starts_at
                        - cause
                        - doctor_name
                        - doctor_image
                        - organization_name
                        - patient_name
                        - schedule_type
                        - status
                        - request_type
                      additionalProperties: false
                      properties:
                        id:
                          type: integer
                        starts_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                        cause:
                          type:
                            - string
                            - 'null'
                        doctor_name:
                          type:
                            - string
                            - 'null'
                        doctor_image:
                          type: string
                        organization_name:
                          type:
                            - string
                            - 'null'
                        patient_name:
                          type: string
                        schedule_type:
                          type:
                            - string
                            - 'null'
                        status:
                          type:
                            - string
                            - 'null'
                        request_type:
                          type:
                            - string
                            - 'null'
        '401':
          description: Missing, expired, invalid, or unauthorized patient portal token.
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                additionalProperties: false
                properties:
                  error:
                    type: string
              examples:
                unauthorized:
                  value:
                    error: Unauthorized
        '404':
          description: >-
            The requested resource was not found or is outside the authorized
            patient scope.
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                additionalProperties: false
                properties:
                  error:
                    type: string
              examples:
                not_found:
                  value:
                    error: Not found
      security:
        - PatientPortalToken: []
components:
  securitySchemes:
    PatientPortalToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >
        Patient portal JWT accepted either as a raw Authorization header value
        or as a Bearer token for client compatibility.

````