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

# Download Attachment

> Download the binary contents of an attachment by its token. The response is the raw file, not JSON.



## OpenAPI

````yaml /openapi.json get /attachments/{attachment_token}/download
openapi: 3.1.1
info:
  title: Everhour API
  version: 1.0.0
  license:
    name: Proprietary
    identifier: LicenseRef-Proprietary
servers:
  - url: https://api.everhour.com
security:
  - ApiKeyAuth: []
tags:
  - name: Clients
  - name: Custom Fields
  - name: Expenses
  - name: Invoices
  - name: Projects
  - name: Reports
  - name: Schedule
  - name: Tasks
  - name: Time Off
  - name: Time Records
  - name: Timecards
  - name: Timers
  - name: Timesheets
  - name: Users
  - name: Webhooks
paths:
  /attachments/{attachment_token}/download:
    get:
      tags:
        - Expenses
      summary: Download Attachment
      description: >-
        Download the binary contents of an attachment by its token. The response
        is the raw file, not JSON.
      operationId: downloadAttachment
      parameters:
        - name: attachment_token
          in: path
          required: true
          schema:
            type: string
            example: aaaabbbbcccddd.eeefff
        - name: inline
          in: query
          required: false
          description: >-
            Set to `1` to serve the file inline (`Content-Disposition: inline`)
            instead of as an attachment.
          schema:
            type: boolean
            example: false
      responses:
        '200':
          description: OK. The `Content-Type` header reflects the uploaded file type.
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key

````