Prerequisites
API Token
We provide it when contracting the service
Endpoint
Production or development URL
Tool for making HTTP requests
Postman, curl, or your favorite language
Your first API call
Basic example with curl
Expected response
Request breakdown
Mandatory headers
Optional headers
Visit Authentication for traceability header configuration.Request body
You must provide eithermedical_note OR pdf_file (mutually exclusive):
| Field | Required | Description |
|---|---|---|
medical_note | Yes* | The clinical text to code (max 50KB) |
pdf_file | Yes* | PDF file object with base64 encoded data (max 5MB decoded) |
model | No | AI model quality level: "fast", "balanced" (default), or "high-quality" |
medical_note or pdf_file is required, but not both.