Developer API Reference
Integrate our conversion schema directly into your backend pipelines.
Authentication
All API requests must include a Bearer token in the Authorization header. To provision a key, contact [email protected].
Authorization: Bearer uc_live_xxxxxxxxxxxxxxxx
POST
/v1/convert
Executes a standard document format translation. Responds with a binary stream of the resultant file.
Parameters (multipart/form-data)
| Field | Type | Description |
|---|---|---|
| document | File | The source binary. Max 2GB. |
| target_format | String | Accepted values: `pdf`, `docx`, `odt` |
| ocr_fallback | Boolean | If true, initiates Tesseract when parsing rasterized PDFs. Defaults to false. |
cURL Example
curl -X POST https://api.uconvertdocument.com/v1/convert -H "Authorization: Bearer uc_live_xxxxxxxxxxxxxxxx" -F "document=@Q3_Report.pdf" -F "target_format=docx" -F "ocr_fallback=true" --output Q3_Report_Editable.docx