---
title: "Get Document by ID"
method: GET
path: "/sign/envelopes/{envelopeID}/documents/{documentID}"
tags: ["Sign"]
---

# Get Document by ID

`GET /sign/envelopes/{envelopeID}/documents/{documentID}`

The **Get Document by ID** endpoint retrieves the details of a single document using its identifier within a specific envelope.

This endpoint is useful for retrieving specific document information, monitoring document processing status, or displaying document details within your internal system.

## Path parameters

- `envelopeID` string, uuid, required
- `documentID` string, uuid, required

## Response `200`

The **GET Document by ID** endpoint returns a JSON object with the document's data

- union
  - PendingDocumentResponse — Response for a pending document
    - `name` string, required — Name of the file provided by the user.
    - `createdAt` string, date-time — UTC timestamp indicating when the document was created.
    - `status` 'pending' | 'uploaded' | 'failed' | 'signed' | 'sealed' — Current status of the document.
    - `ID` string, uuid, required — Unique uuid identifier for the document.
  - UploadedDocumentResponse — Response for an uploaded document
    - `name` string, required — Name of the file provided by the user.
    - `createdAt` string, date-time — UTC timestamp indicating when the document was created.
    - `status` 'pending' | 'uploaded' | 'failed' | 'signed' | 'sealed' — Current status of the document.
    - `sizeBytes` integer — Size in bytes of the document.
    - `numPages` integer — Number of pages of the document.
    - `ID` string, uuid, required — Unique uuid identifier for the document.
  - FailedDocumentResponse — Response for a failed document
    - `name` string, required — Name of the file provided by the user.
    - `createdAt` string, date-time — UTC timestamp indicating when the document was created.
    - `status` 'pending' | 'uploaded' | 'failed' | 'signed' | 'sealed' — Current status of the document.
    - `sizeBytes` integer — Size in bytes of the document.
    - `numPages` integer — Number of pages of the document.
    - `failureReason` string — The failure reason of the document.
    - `ID` string, uuid, required — Unique uuid identifier for the document.
  - SignedDocumentResponse — Response for a signed document
    - `name` string, required — Name of the file provided by the user.
    - `createdAt` string, date-time — UTC timestamp indicating when the document was created.
    - `status` 'pending' | 'uploaded' | 'failed' | 'signed' | 'sealed' — Current status of the document.
    - `sizeBytes` integer — Size in bytes of the document.
    - `numPages` integer — Number of pages of the document.
    - `ID` string, uuid, required — Unique uuid identifier for the document.
  - SealedDocumentResponse — Response for a sealed document
    - `name` string, required — Name of the file provided by the user.
    - `createdAt` string, date-time — UTC timestamp indicating when the document was created.
    - `status` 'pending' | 'uploaded' | 'failed' | 'signed' | 'sealed' — Current status of the document.
    - `sizeBytes` integer — Size in bytes of the document.
    - `numPages` integer — Number of pages of the document.
    - `ID` string, uuid, required — Unique uuid identifier for the document.

## Other responses

- `401` — Unauthorized - Invalid or missing JWT token
- `404` — Document or envelope not found

---

[API](https://skmtc.net/gonitro/apis/nitro-sign-public-api.md) · [All operations](https://skmtc.net/gonitro/apis/nitro-sign-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gonitro/nitro-sign-public-api/versions/26e3043a365b/schema)
