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

# Get Attachment

> **Note: This endpoint is subject to change and may not be supported in future releases.** 

 Downloads a specific attachment by ID



## OpenAPI

````yaml GET /templates/download/{id}
openapi: 3.0.1
info:
  title: Attachment Management API
  description: API to manage attachments within the system
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: '{{BaseUrl}}'
security:
  - bearerAuth: []
paths:
  /templates/download/{id}:
    get:
      description: Downloads a specific attachment by ID
      operationId: getAttachment
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Attachment retrieved successfully
          content:
            application/octet-stream: {}
        '404':
          description: Attachment not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
        details:
          type: string
          description: Detailed description of the error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````