Get Document by ID

View as Markdown
Retrieves the full JSON representation of a scanned document, including the extracted data, file name, processing status (`RECEIVED`, `COMPLETED`, or `EXPORTED`), detected language, and document type. Use this to read a document’s current extracted values — including any corrections made in the UI — at any point after upload. For export-oriented payloads intended for automation, use Export Document By ID instead.

Authentication

x-api-keystring
API key issued by Staple.
AuthorizationBearer
JWT obtained from the login endpoint.

Path parameters

docIdstringRequired

Response

OK