> You are reading the Docusign Developer Documentation. For clean Markdown of any page, append .md to the page URL.
>
> Documentation indexes by section:
> - APIs and SDKs: https://docusign.docs.buildwithfern.com/docs/llms.txt
> - Platform 101: https://docusign.docs.buildwithfern.com/platform/llms.txt
> - Extension Apps: https://docusign.docs.buildwithfern.com/extension-apps/llms.txt
> - Docusign CLI: https://docusign.docs.buildwithfern.com/docusign-cli/llms.txt
>
> Authentication (OAuth, JWT Grant, M2M): https://docusign.docs.buildwithfern.com/platform/auth
> Webhooks and Connect: https://docusign.docs.buildwithfern.com/platform/webhooks
>
> OpenAPI specifications: https://docusign.docs.buildwithfern.com/openapi.json
> MCP server: https://docusign.docs.buildwithfern.com/_mcp/server

# Get information about the document

GET https://api-d.docusign.com/v1/accounts/{accountId}/workspaces/{workspaceId}/documents/{documentId}

This operation retrieves information about the document. The response includes the document ID, name, and metadata.

[Required authentication scopes](/docs/workspaces-api/auth/): `dtr.documents.read`

Reference: https://developers.docusign.com/docs/workspaces-api/reference/workspaces/workspacedocuments/getworkspacedocument

## Authentication

- `Authorization` header (bearer token, required) — JWT Bearer token from Docusign authorization server

## Servers

- `https://api-d.docusign.com` (Demo, default)
- `https://api.docusign.com` (Production)

## Request

### Path parameters

- `accountId` (string, required) — The ID of the account
- `workspaceId` (string, required) — The ID of the workspace
- `documentId` (string, required) — The ID of the document

## Response

### 200

Document successfully retrieved

- `document_id` (string, required) — The ID of the document
- `name` (string, required) — The name of the document
- `workspace_id` (string, optional, nullable) — The ID of the workspace
- `owner_id` (string, optional, nullable) — The ID of the owner of the document
- `size` (long, optional, nullable) — The size of the document in bytes
- `created_date` (datetime, optional, nullable) — The date the document was created
- `content_type` (string, optional, nullable) — The document content type

## Errors

### 400 Bad Request Error

Bad request. See ErrorCode and Message for details

- `message` (string, optional, nullable) — A brief message describing the error condition
- `errorCode` (string, optional, nullable) — A standardized code that generalizes the specific error

### 401 Unauthorized Error

Not authorized to make this request

- `message` (string, optional, nullable) — A brief message describing the error condition
- `errorCode` (string, optional, nullable) — A standardized code that generalizes the specific error

### 500 Internal Server Error

Internal Server Error

- `message` (string, optional, nullable) — A brief message describing the error condition
- `errorCode` (string, optional, nullable) — A standardized code that generalizes the specific error

## Examples

**Response**

```json
{
  "document_id": "9e2f4a8b-3c7d-4e5f-a1b2-8c9d6e3f4a7b",
  "name": "Contract Agreement.pdf",
  "workspace_id": "113e81b7-706e-4cab-9257-73b06325266e",
  "owner_id": "211e2d22-f070-4c8d-b6a7-ecb14ceb81b4",
  "size": 245760,
  "created_date": "2025-09-01T12:00:00Z",
  "content_type": "application/pdf"
}
```