---
title: "Get Document Engine document properties | Nutrient"
canonical_url: "https://www.nutrient.io/guides/document-engine/file-management/document-properties/"
md_url: "https://www.nutrient.io/guides/document-engine/file-management/document-properties.md"
last_updated: "2026-09-10T16:23:23.059Z"
description: "Retrieve metadata for a Document Engine document, including password protection state, source PDF SHA-256 hash, title, file size, and storage backend."
---

# Get document properties

Use the document properties endpoint to fetch metadata for a document stored in Document Engine:

```shell

curl -X GET "http://localhost:5000/api/documents/123/properties" \
  -H "Authorization: Token token=<API token>"

```

Replace `localhost:5000` with your Document Engine host. Replace `123` with the document ID, and use the API token configured for your deployment.

The response includes the source PDF hash in `data.sourcePdfSha256`:

```json

{
  "data": {
    "passwordProtected": false,
    "sourcePdfSha256": "1defd934dbbf77587eb9b7f45d162d2a3aea16c840a9e7cfa190fb2ea1f40a76",
    "title": "Contract.pdf",
    "byteSize": 418293,
    "createdAt": "2026-08-18T10:15:30Z",
    "storage": {
      "type": "built-in"
    }
  }
}

```

Use `sourcePdfSha256` when you need to compare the uploaded source file with an external checksum or deduplicate documents. It’s also useful to verify that a stored document still matches the original PDF.

For the complete response schema, refer to the [document properties endpoint](https://www.nutrient.io/api/reference/document-engine/upstream/#tag/Documents/operation/fetch-document-properties).
---

## Related pages

- [File management overview](/guides/document-engine/file-management.md)
- [Convert email files to PDF](/guides/document-engine/file-management/convert-email-files.md)
- [Create a document from an upload](/guides/document-engine/file-management/create-a-document-from-upload.md)
- [Create a document from a URL](/guides/document-engine/file-management/create-a-document-from-url.md)
- [List documents with pagination](/guides/document-engine/file-management/list-documents.md)
- [Working with password-protected PDFs](/guides/document-engine/file-management/password-pdfs.md)
- [Remove files](/guides/document-engine/file-management/remove.md)
- [Store user-uploaded files](/guides/document-engine/file-management/store-user-uploaded-files.md)

