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.
Examples in different languages
Available environments
Visit Environment configuration for detailed URLs and features.Next steps
1. View complete structure
All available fields
2. View PDF file format
How to send PDF files for coding
3. View advanced examples
Real use cases (billing datasets, structured notes, etc.)
4. Error handling
What to do when something fails