---
updatedAt: 2026-08-11T10:25:44.000Z
agentTools:
  projectIndex: https://directiq.readme.io/llms.txt
---

# Download document

Downloads a document by id.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Core API",
    "termsOfService": "https://directiq.com/terms",
    "contact": {
      "name": "Baris Ergin",
      "url": "https://directiq.com/contact",
      "email": ""
    },
    "version": "v1-current"
  },
  "servers": [
    {
      "url": "https://rest.directiq.com/core",
      "description": "Production"
    }
  ],
  "paths": {
    "/download/{id}": {
      "get": {
        "tags": [
          "Download"
        ],
        "summary": "Download document",
        "description": "Downloads a document by id.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "api-version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "description": "Basic Authentication",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ]
}
```