---
title: "Get order documents"
method: GET
path: "/v1/order/{id}/documents"
tags: ["Order"]
---

# Get order documents

`GET /v1/order/{id}/documents`

## Request

- Base URL: `https://api.sandbox.usenash.com`
- URL: `https://api.sandbox.usenash.com/v1/order/{id}/documents`
- Auth: none declared

Retrieve documents associated with an order such as shipping labels or proof of delivery. Set load_data=true to include the document content in the response.

## Path parameters

- `id` string, required: Unique reference number for the order: either order.id (starts with "ord_") or order.externalId

## Query parameters

- `loadData` boolean, required: Whether to load the document data and return it as part of the response. Text documents such as ZPL are returned as text, all others such as PDF as base64.

## Response `200`

OK

- OrderDocumentOutput[]
  - `createdAt` string, date-time, required: The date and time when the document was created
  - `id` string, required: The id of the document
  - `type` 'shipping_label' | 'pickup_label' | 'manifest' | 'packing_slip_label' | 'proof_of_delivery', required
  - `contentType` string, required: The content type of the document
  - `url` string, nullable: The URL of the document
  - `data` string, nullable: The document content when load_data=true: text documents such as ZPL as plain text, all others such as PDF as base64

## Other responses

- `422`: Unprocessable Content

---

[API](https://skmtc.dev/nash/apis/nash-api.md) - [All operations](https://skmtc.dev/nash/apis/nash-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nash/apis/nash-api/revisions/e3713837c5c9?raw)
