cURL
curl --request POST \ --url https://api.iyzpdf.com/v1/convert/word-to-pdf \ --header "X-API-Key: $IYZPDF_API_KEY" \ --form "file=@proposal.docx" \ --output proposal.pdf
{ "fileName": "output.pdf", "size": 183240, "creditsUsed": 1, "creditsRemaining": 49, "contentType": "application/pdf" }
Convert DOCX files into PDF.
2
.docx
100 MB
word.pdf
Send your server-side API key in the X-API-Key header.
.docx file upload.
Successful response.