Skip to content

Document export

Use the document export APIs to:

  • List documents that are ready for export.
  • Retrieve the details/content of a specific document.
  • Mark a document as retrieved with a final status (EXPORTED or ERROR).
  • Bearer token required for all endpoints in this section.
  1. List available documents to get their IDs.
  2. Fetch document details using each returned ID.
  3. Set the retrieval status for each processed document:
    • EXPORTED: retrieval was successful; the document won’t be listed again.
    • ERROR: retrieval failed; the document is hidden from the next listing but the error can be logged or retried.
  • If no status is submitted, the document remains available in the next export run.
  • See the pages in this section for endpoint paths, request/response formats, and examples.