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

# List consultation photos

> Every photograph attached to one of your consultations, oldest first.

The dermatology pathways ask for photographs of the affected skin, and this is where they end up once the consultation exists. Each entry carries a `url` pointing at the content route below rather than a storage link, so the bytes stay behind the same access check as the consultation itself.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/questionnaire/consultations/{id}/images/
openapi: 3.0.3
info:
  title: Hi-Doctor API
  version: 1.0.0
  description: >-
    Patient-facing REST API for Hi-Doctor.


    Authenticate with email and password to get an `access` token, then send it
    as `Authorization: Bearer <token>` on every request that needs one.
    Registering, verifying the code, signing in and refreshing the token all
    work without a bearer token.


    Every account-scoped endpoint returns only the authenticated patient's own
    records. A resource you cannot see is indistinguishable from one that does
    not exist.
  contact:
    name: Hi-Doctor
    email: hello@hi-doctor.ai
    url: https://hi-doctor.ai
servers:
  - url: https://api.hi-doctor.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Account
    description: Registration, email verification, sign-in and profile.
  - name: Questionnaires
    description: Complete a consultation questionnaire and submit it for medical review.
  - name: Consultations
    description: Consultations a doctor has reviewed or is reviewing.
  - name: Prescriptions
    description: Prescriptions and reissue requests.
  - name: Billing
    description: Checkout, subscription management and the Stripe billing portal.
  - name: Records
    description: Orders, invoices and side-effect reports.
  - name: Messages
    description: The patient's private thread with their medical team.
  - name: Progress
    description: Weight, injection and note tracking. Requires an active treatment plan.
  - name: Referrals
    description: Referral summary and transactions.
  - name: Attribution
    description: Lead and attribution events from the landing funnel.
paths:
  /v1/questionnaire/consultations/{id}/images/:
    get:
      tags:
        - Consultations
      summary: List consultation photos
      description: >-
        Every photograph attached to one of your consultations, oldest first.


        The dermatology pathways ask for photographs of the affected skin, and
        this is where they end up once the consultation exists. Each entry
        carries a `url` pointing at the content route below rather than a
        storage link, so the bytes stay behind the same access check as the
        consultation itself.
      operationId: questionnaire_consultations_images_retrieve
      parameters:
        - in: header
          name: X-Brand-Slug
          required: true
          schema:
            type: string
            enum:
              - hi-doctor
            default: hi-doctor
          description: >-
            Identifies the Hi-Doctor brand. Required; the request is rejected
            without it.
        - in: path
          name: id
          schema:
            type: string
            format: uuid
          required: true
      responses:
        '200':
          description: No response body
          content:
            application/json:
              example:
                - id: 5c1e9a37-2f80-4d4a-9a0e-71b3c2f4d810
                  url: >-
                    https://api.hi-doctor.ai/v1/questionnaire/consultations/b91d7c04-3f6a-4d21-8c55-0e7a91d2b3f4/images/5c1e9a37-2f80-4d4a-9a0e-71b3c2f4d810/content/
                  filename: cheek-left.jpg
                  uploaded_at: '2026-08-26T09:14:22.481073Z'
                  consultation_id: b91d7c04-3f6a-4d21-8c55-0e7a91d2b3f4
                - id: a0d47b12-6c93-4e58-bb21-4f8e05c7a934
                  url: >-
                    https://api.hi-doctor.ai/v1/questionnaire/consultations/b91d7c04-3f6a-4d21-8c55-0e7a91d2b3f4/images/a0d47b12-6c93-4e58-bb21-4f8e05c7a934/content/
                  filename: cheek-right.jpg
                  uploaded_at: '2026-08-26T09:14:58.902114Z'
                  consultation_id: b91d7c04-3f6a-4d21-8c55-0e7a91d2b3f4
        '401':
          description: >-
            No bearer token, or a token that is expired or malformed.
            Re-authenticate; do not retry the same token.
          content:
            application/json:
              example:
                detail: Given token not valid for any token type
                code: token_not_valid
                messages:
                  - token_class: AccessToken
                    token_type: access
                    message: Token is invalid
        '404':
          description: >-
            No such record, **or it belongs to another account**. Every endpoint
            is self-scoped, so a record you cannot see is indistinguishable from
            one that does not exist. Do not retry with a different id.
          content:
            application/json:
              example:
                detail: No Consultation matches the given query.
      security:
        - jwtAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Access token from POST /v1/users/token/
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````