---
updatedAt: 2026-05-28T15:48:11.000Z
agentTools:
  projectIndex: https://dev.frontapp.com/llms.txt
---

# Download attachment from an article

Downloads the attachment from an article.

Required scope: `knowledge_bases:read`

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "x-api-id": "front",
  "x-explorer-enabled": false,
  "x-proxy-enabled": true,
  "x-samples-enabled": true,
  "info": {
    "version": "1.0.0",
    "title": "Core API",
    "contact": {
      "name": "Front Platform",
      "url": "https://community.front.com"
    }
  },
  "security": [
    {
      "http": []
    }
  ],
  "servers": [
    {
      "url": "https://api2.frontapp.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "http": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "responses": {
      "attachment": {
        "description": "The binary content of the attachment file",
        "content": {
          "*/*": {
            "schema": {
              "type": "string",
              "format": "binary"
            }
          }
        },
        "headers": {
          "Content-Type": {
            "description": "The MIME type of the attachment file",
            "schema": {
              "type": "string",
              "example": "application/pdf"
            }
          },
          "Content-Length": {
            "description": "The size of the attachment file in bytes",
            "schema": {
              "type": "string",
              "example": "1024"
            }
          }
        }
      }
    }
  },
  "paths": {
    "/knowledge_base_articles/{article_id}/download/{attachment_id}": {
      "get": {
        "summary": "Download attachment from an article",
        "operationId": "download-attachment-from-an-article",
        "description": "Downloads the attachment from an article.\n\nRequired scope: `knowledge_bases:read`",
        "tags": [
          "Knowledge Base Articles"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "article_id",
            "required": true,
            "description": "The ID of the article",
            "schema": {
              "type": "string",
              "default": "kba_123"
            }
          },
          {
            "in": "path",
            "name": "attachment_id",
            "required": true,
            "description": "The ID of the file to download",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/attachment"
          }
        },
        "x-required-scopes": [
          "knowledge_bases:read"
        ]
      }
    }
  }
}
```