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

# Download a counterparty document

> Download a document attached to a counterparty.

Use a document `id` from [counterparty details](https://docs.range.org/platform-api/reference/v2/get-counterparties-by-id.md) as `docId`.


## OpenAPI

````yaml api-reference/platform-api.json get /v2/counterparties/{id}/documents/{docId}
openapi: 3.0.0
info:
  title: Range Platform API
  description: >-
    The Range Platform API for workspace management, counterparties, and
    operational tooling.
  version: 1.7.37
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
  - Authorization: []
tags:
  - name: Address Information
    description: Get information about a crypto address.
  - name: Transfer Enrichments
    description: Attach workspace-scoped notes and categories to transfers.
  - name: Counterparties
    description: Manage external entities, their addresses, bank accounts, and documents.
  - name: Parties
    description: >-
      The workspace entity register: the firm itself, its clients, and its
      counterparties.
paths:
  /v2/counterparties/{id}/documents/{docId}:
    get:
      tags:
        - Counterparties
      summary: Download a document
      operationId: downloadDocument
      parameters:
        - name: id
          required: true
          in: path
          description: Resource identifier.
          schema:
            example: 550e8400-e29b-41d4-a716-446655440000
            type: string
        - name: docId
          required: true
          in: path
          description: Document id (uuid).
          schema:
            example: 550e8400-e29b-41d4-a716-446655440000
            type: string
      responses:
        '200':
          description: ''
components:
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.