POST /v1/convert with the Word file and to: "pdf". Doconda converts it with no AI and answers with a download
link to the PDF. The first 1,000 conversions each month are free for each organization; after that, each costs €0.01,
whatever its number of pages.
Steps
- Put your API key (dashboard → API keys, it starts with
ak_eu_) inDOCONDA_API_KEYand install the SDK (pip install docondaornpm install @doconda/sdk). - Convert the file and download the PDF:
filename), an uploaded file ID (file_01JAB3…) or the ID of a
document Doconda made (doc_01JAB3…).
What you get back
output.url: the PDF, valid 5 minutes.expires_at: the PDF is deleted 15 minutes after it was made. Until then,GET /v1/convert/{id}returns a fresh link.pages: the pages of the Word file you sent.
- The request waits for the PDF for up to 120 s. A longer conversion answers
202withstatus: "queued"or"running"; pick it up withGET /v1/convert/{id}. The SDK does this for you, every 2 s. - Calibri renders as Carlito and Cambria as Caladea, fonts with the same metrics, so the text takes the same space as in Word.
- A format pair that doesn’t exist fails with
400and lists the pairs that do.
FAQ
Does it work for PowerPoint and Excel?
Does it work for PowerPoint and Excel?
Yes.
.pptx and .xlsx (also .ppt and .xls) convert to PDF the same way. The full list is in
Convert files.And old .doc files?
And old .doc files?
Yes. A
.doc converts to PDF, or to .docx if you want the modern Word format.Does it fix the file before converting it?
Does it fix the file before converting it?
No. It converts the file as it is. To change it first (for example, a table wider than the page), use
Edit: the edited file comes with its PDF.
Related
- Convert files: every format and what becomes what.
- Pricing.