Convert DOCX to PDF.
POST/pdf/docx-to-pdf
Convert DOCX to PDF.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
urlstring
The DOCX URL.
bufferstring
The DOCX as a Base64-encoded buffer. Can be specified instead of url
.
getAsUrlboolean
Whether the result PDF should be returned as a URL. Default is false
.
Example:
true
fileNamestring
The file name of the result PDF. Default is a random ID.
Responses
- 200
- 400
Success
- application/json
- application/octet-stream
- Schema
- Example (auto)
Schema
urlstringrequired
The result PDF URL.
{
"url": "string"
}
- Schema
Schema
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}