Get document properties
Use the document properties endpoint to fetch metadata for a document stored in Document Engine:
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:
{ "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.