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

# List attachments for a maintenance job

> Lists photos, videos and shared documents on the job’s issue. A supplier only sees them when they have been asked to quote or have been given the work.



## OpenAPI

````yaml openapi-maintenance.json GET /v1/maintenance/jobs/{id}/attachments
openapi: 3.1.0
info:
  title: Yorlet Maintenance API
  description: >-
    APIs for managing maintenance issues, the jobs raised against them, supplier
    quotes, and the conversation with the tenant.
  version: 1.0.0
servers:
  - url: https://api.yorlet.com
    description: Production
  - url: https://api.yorlet.io
    description: Sandbox
security: []
paths:
  /v1/maintenance/jobs/{id}/attachments:
    get:
      tags:
        - Maintenance Jobs
      summary: List attachments for a maintenance job
      description: >-
        Lists photos, videos and shared documents on the job’s issue. A supplier
        only sees them when they have been asked to quote or have been given the
        work.
      operationId: maintenance_jobs_attachments
      parameters:
        - schema:
            type: string
            description: The id identifier.
          required: true
          description: The id identifier.
          name: id
          in: path
      responses:
        '200':
          description: A object with a data property that contains an array of attachments.
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: number
                    description: Total number of items in the list.
                    example: 1
                  has_more:
                    type: boolean
                    description: Whether more items are available.
                    example: false
                  object:
                    type: string
                    enum:
                      - list
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: The ID of the file.
                        filename:
                          type:
                            - string
                            - 'null'
                          description: The original filename.
                        kind:
                          type: string
                          enum:
                            - photo
                            - video
                            - document
                          description: >-
                            Whether this file is a photo, a video, or a document
                            on the issue.
                        mime_type:
                          type:
                            - string
                            - 'null'
                          description: The MIME type of the file.
                        name:
                          type:
                            - string
                            - 'null'
                          description: >-
                            A display name. Set on documents; otherwise the
                            filename.
                        url:
                          type: string
                          description: >-
                            A short-lived URL that can be opened without a
                            Yorlet session.
                      required:
                        - id
                        - filename
                        - kind
                        - mime_type
                        - name
                        - url
                required:
                  - count
                  - has_more
                  - object
                  - data
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: API Key authentication. Use "Bearer YOUR_API_KEY".

````