API Reference

POST /api/v1/document

de>curl -X POST https://api.immenzo.com/api/v1/document \
  -H "Authorization: Bearer <token>" \
  -F "file=@lab_report.pdf" \
  -F "client_id=HOSP123"

Example Response

de>{
  "id": "doc_987654321",
  "status": "queued",
  "compression_mode": "vision",
  "estimated_time": "5s"
}

Polling Job

de>GET /api/v1/document/{id}

Retrieve Results

de>GET /api/v1/document/{id}/result

Standardizing (FHIR)

POST /api/v1/standardize

Error Codes

Code Meaning Suggested Fix
401 Unauthorized Refresh your token or request a new one
404 Not Found Verify the document ID is correct
500 Server Error Try again later or contact support if issue persists
[1](https://github.com/paste-perfect/paste-perfect) [2](https://scouthtml.com/embed-github-code-html/) [3](https://github.blog/changelog/2022-05-19-updates-to-markdown-pasting-on-github/) [4](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks) [5](https://stackoverflow.com/questions/11286861/copy-code-text-from-github-doesnt-retain-tabs) [6](https://stackoverflow.com/questions/53737484/interpret-the-html-code-from-clipboard-and-paste-it-into-html-view-format) [7](https://www.reddit.com/r/ClaudeAI/comments/1iqq23c/how_to_keep_formatting_and_syntax_highlighting/) [8](https://www.reddit.com/r/github/comments/pyp8vp/how_can_i_select_and_copy_the_content_of_a_code/) [9](https://scouthtml.com/how-to-display-github-code-as-html/) [10](https://www.youtube.com/watch?v=S2Aj85DEUWs)