QUICKSTART / 5 MINUTES

Your first DOCX conversion.

The API is intentionally small: upload a file, keep the job id, and fetch the result when it is ready.

01 / CREATE

Upload a DOCX

Send the file as a multipart form field named file with your DOCX PDF API key.

curl -X POST https://api.docx-pdf.com/v1/convert \
        -H "X-API-Key: $DOCX_PDF_API_KEY" \
      -F "file=@contract.docx"
202 Accepted{ "job_id": "a81f...72c", "status": "pending" }

02 / CHECK

Poll until done

Use the job id to check progress. A completed job includes the output object key; a failed job includes an actionable error.

curl https://api.docx-pdf.com/v1/jobs/a81f...72c \
        -H "X-API-Key: $DOCX_PDF_API_KEY"
200 OK{ "job_id": "a81f...72c", "status": "done", "output_key": "output/a81f...72c.pdf" }

03 / DOWNLOAD

Fetch the PDF

Once the job is done, download the generated PDF from the job-scoped endpoint.

curl -L https://api.docx-pdf.com/v1/jobs/a81f...72c/pdf \
          -H "X-API-Key: $DOCX_PDF_API_KEY" \
        -o converted.pdf

04 / LIVE

Try the live API

Use the Playground to upload a DOCX interactively, or bring the same request into your application with a server-side API key.

Ready to test?
Open the DOCX PDF Playground or create an account.