Skip to main content
Call 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

  1. Put your API key (dashboard → API keys, it starts with ak_eu_) in DOCONDA_API_KEY and install the SDK (pip install doconda or npm install @doconda/sdk).
  2. Convert the file and download the PDF:
The SDK takes a path, a public URL, bytes (with 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.
Behavior to be aware of:
  • The request waits for the PDF for up to 120 s. A longer conversion answers 202 with status: "queued" or "running"; pick it up with GET /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 400 and lists the pairs that do.

FAQ

Yes. .pptx and .xlsx (also .ppt and .xls) convert to PDF the same way. The full list is in Convert files.
Yes. A .doc converts to PDF, or to .docx if you want the modern Word format.
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.