Get Generated PDF Document

View as Markdown

Retrieves the status and result of a document generation request. The response includes the request status (success or failed), the generated document’s ID and name, the queue and user involved, and error details if generation or scanning failed. Poll this endpoint after creating a document to confirm it has been generated.

Authentication

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

Path parameters

requestIdstringRequired

Response

OK