Document Convert API API Reference

Convert API lets you effortlessly convert file formats and types.

Swagger OpenAPI Specification | .NET Framework Client | .NET Core Client | Java Client | Node.JS Client | Python Client | Drupal Client

API Endpoint
https://api.cloudmersive.com
Schemes: https
Version: v1

Authentication

Apikey

API Key Authentication

type
apiKey
name
Apikey
in
header

CompareDocument

Compare Two Word DOCX

POST /convert/compare/docx


Compare two Office Word Documents (docx) files and highlight the differences



inputFile1: file
in formData

First input file to perform the operation on.

inputFile2: file
in formData

Second input file to perform the operation on (more than 2 can be supplied).

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

ConvertData

Convert CSV to JSON conversion

POST /convert/csv/to/json


Convert a CSV file to a JSON object array



inputFile: file
in formData

Input file to perform the operation on.

columnNamesFromFirstRow: boolean
in header

Optional; If true, the first row will be used as the labels for the columns; if false, columns will be named Column0, Column1, etc. Default is true. Set to false if you are not using column headings, or have an irregular column structure.

Code Example:
200 OK

OK

type
object
Response Content-Types: application/json
Response Example (200 OK)
"object"

Convert CSV to XML conversion

POST /convert/csv/to/xml


Convert a CSV file to a XML file



inputFile: file
in formData

Input file to perform the operation on.

columnNamesFromFirstRow: boolean
in header

Optional; If true, the first row will be used as the labels for the columns; if false, columns will be named Column0, Column1, etc. Default is true. Set to false if you are not using column headings, or have an irregular column structure.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Excel XLSX to JSON conversion

POST /convert/xlsx/to/json


Convert an Excel XLSX file to a JSON object array



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Excel XLSX to XML conversion

POST /convert/xlsx/to/xml


Convert an Excel XLSX file to a XML file



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Excel (97-2003) XLS to JSON conversion

POST /convert/xls/to/json


Convert an Excel (97-2003) XLS file to a JSON object array



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
object
Response Content-Types: application/json
Response Example (200 OK)
"object"

Convert XML to JSON conversion

POST /convert/xml/to/json


Convert an XML string or file into JSON



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
object
Response Content-Types: application/json
Response Example (200 OK)
"object"

Filter, select XML nodes using XPath expression, get results

POST /convert/xml/select/xpath


Return the reuslts of filtering, selecting an XML document with an XPath expression



XPathExpression: string
in header

Valid XML XPath query expression

inputFile: file
in formData

Input file to perform the operation on.

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "XmlNodes": [
    "string"
  ],
  "ResultCount": "integer (int32)"
}

Query an XML file using XQuery query, get results

POST /convert/xml/query/xquery


Return the reuslts of querying a single XML document with an XQuery expression. Supports XQuery 3.1 and earlier. This API is optimized for a single XML document as input. Provided XML document is automatically loaded as the default context; to access elements in the document, simply refer to them without a document reference, such as bookstore/book



inputFile: file
in formData

Input XML file to perform the operation on.

XQuery: string
in header

Valid XML XQuery 3.1 or earlier query expression; multi-line expressions are supported

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "ResultingXml": "string",
  "ErrorMessage": "string"
}

Query multiple XML files using XQuery query, get results

POST /convert/xml/query/xquery/multi


Return the reuslts of querying an XML document with an XQuery expression. Supports XQuery 3.1 and earlier. This API is optimized for multiple XML documents as input. You can refer to the contents of a given document by name, for example doc("books.xml") or doc("restaurants.xml") if you included two input files named books.xml and restaurants.xml. If input files contain no file name, they will default to file names input1.xml, input2.xml and so on.



inputFile1: file
in formData

First input XML file to perform the operation on.

inputFile2: file
in formData

Second input XML file to perform the operation on.

inputFile3: file
in formData

Third input XML file to perform the operation on.

inputFile4: file
in formData

Fourth input XML file to perform the operation on.

inputFile5: file
in formData

Fifth input XML file to perform the operation on.

inputFile6: file
in formData

Sixth input XML file to perform the operation on.

inputFile7: file
in formData

Seventh input XML file to perform the operation on.

inputFile8: file
in formData

Eighth input XML file to perform the operation on.

inputFile9: file
in formData

Ninth input XML file to perform the operation on.

inputFile10: file
in formData

Tenth input XML file to perform the operation on.

XQuery: string
in header

Valid XML XQuery 3.1 or earlier query expression; multi-line expressions are supported

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "ResultingXml": "string",
  "ErrorMessage": "string"
}

Sets the value contents of XML nodes matching XPath expression

POST /convert/xml/edit/xpath/set-value


Return the reuslts of editing an XML document by setting the contents of all of the nodes that match an input XPath expression. Supports elements and attributes.



inputFile: file
in formData

Input XML file to perform the operation on.

XPathExpression: string
in header

Valid XML XPath query expression

XmlValue: string
in header

XML Value to set into the matching XML nodes

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "ResultingXmlDocument": "string",
  "NodesEditedCount": "integer (int32)"
}

Replaces XML nodes matching XPath expression with new node

POST /convert/xml/edit/xpath/replace


Return the reuslts of editing an XML document by replacing all of the nodes that match an input XPath expression with a new XML node expression.



inputFile: file
in formData

Input XML file to perform the operation on.

XPathExpression: string
in header

Valid XML XPath query expression

XmlNodeReplacement: string
in header

XML Node replacement content

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "ResultingXmlDocument": "string",
  "NodesEditedCount": "integer (int32)"
}

Adds an XML node as a child to XML nodes matching XPath expression

POST /convert/xml/edit/xpath/add-child


Return the reuslts of editing an XML document by adding an XML node as a child to all of the nodes that match an input XPath expression.



inputFile: file
in formData

Input XML file to perform the operation on.

XPathExpression: string
in header

Valid XML XPath query expression

XmlNodeToAdd: string
in header

XML Node to add as a child

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "ResultingXmlDocument": "string",
  "NodesEditedCount": "integer (int32)"
}

Adds an attribute to all XML nodes matching XPath expression

POST /convert/xml/edit/xpath/add-attribute


Return the reuslts of editing an XML document by adding an attribute to all of the nodes that match an input XPath expression.



inputFile: file
in formData

Input XML file to perform the operation on.

XPathExpression: string
in header

Valid XML XPath query expression

XmlAttributeName: string
in header

Name of the XML attribute to add

XmlAttributeValue: string
in header

Value of the XML attribute to add

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "ResultingXmlDocument": "string",
  "NodesEditedCount": "integer (int32)"
}

Remove, delete XML nodes and items matching XPath expression

POST /convert/xml/edit/xpath/remove


Return the reuslts of editing an XML document by removing all of the nodes that match an input XPath expression



XPathExpression: string
in header

Valid XML XPath query expression

inputFile: file
in formData

Input file to perform the operation on.

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "ResultingXmlDocument": "string",
  "XmlNodesRemoved": [
    "string"
  ],
  "NodesRemovedCount": "integer (int32)"
}

Removes, deletes all children of nodes matching XPath expression, but does not remove the nodes

POST /convert/xml/edit/xpath/remove-all-children


Return the reuslts of editing an XML document by removing all child nodes of the nodes that match an input XPath expression.



inputFile: file
in formData

Input XML file to perform the operation on.

XPathExpression: string
in header

Valid XML XPath query expression

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "ResultingXmlDocument": "string",
  "NodesEditedCount": "integer (int32)"
}

Transform XML document file with XSLT into a new XML document

POST /convert/xml/transform/xslt/to/xml


Convert an XML string or file into JSON



inputFile: file
in formData

Input XML file to perform the operation on.

transformFile: file
in formData

Input XSLT file to use to transform the input XML file.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/xml
Response Example (200 OK)
"string (byte)"

Convert JSON to XML conversion

POST /convert/json/to/xml


Convert a JSON object into XML



Input JSON to convert to XML

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
"object"
200 OK

OK

type
string (byte)
Response Content-Types: application/xml
Response Example (200 OK)
"string (byte)"

ConvertDocument

Convert Word DOCX Document to PDF

POST /convert/docx/to/pdf


Convert Office Word Documents (docx) to standard PDF



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Word DOCX Document to Text (txt)

POST /convert/docx/to/txt


Convert Office Word Documents (docx) to text



inputFile: file
in formData

Input file to perform the operation on.

textFormattingMode: string
in header

Optional; specify how whitespace should be handled when converting the document to text. Possible values are 'preserveWhitespace' which will attempt to preserve whitespace in the document and relative positioning of text within the document, and 'minimizeWhitespace' which will not insert additional spaces into the document in most cases. Default is 'minimizeWhitespace'.

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "TextResult": "string"
}

Convert Word DOCX Document to RTF

POST /convert/docx/to/rtf


Convert an Office Word Document (DOCX) to Rich Text Format Document (RTF)



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Word DOCX Document to PNG image array

POST /convert/docx/to/png


Converts an Office Word Document (DOCX) file to an array of PNG images, one for each page.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "PngResultPages": [
    {
      "PageNumber": "integer (int32)",
      "URL": "string"
    }
  ]
}

Convert Word DOCX Document to JPG/JPEG image array

POST /convert/docx/to/jpg


Converts an Office Word Document (DOCX) to an array of JPG/JPEG images, one for each page. Customize image quality using quality header.



inputFile: file
in formData

Input file to perform the operation on.

quality: integer
in header

Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "JpgResultPages": [
    {
      "PageNumber": "integer (int32)",
      "Content": "string (byte)"
    }
  ]
}

Convert Word DOCX Document to HTML Document

POST /convert/docx/to/html


Convert Office Word Document (DOCX) to HTML Document



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Word DOC (97-03) Document to PDF

POST /convert/doc/to/pdf


Convert Office Word (97-2003 Format) Documents (doc) to standard PDF



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Word DOC (97-03) Document to DOCX

POST /convert/doc/to/docx


Convert/upgrade Office Word (97-2003 Format) Documents (doc) to the modern DOCX format



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Word DOCX Document to Legacy Word DOC (97-03)

POST /convert/docx/to/doc


Convert/downgrade modern Office Word DOCX Documents (DOCX) to the legacy Word DOC (97-2003 Format) format



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Excel XLSX Spreadsheet to Legacy Excel XLS (97-03)

POST /convert/xlsx/to/xls


Convert/downgrade modern Office Excel XLSX Spreadsheet to the legacy Excel XLS (97-2003 Format) format



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert PowerPoint PPTX presentation to Legacy PowerPoint PPT (97-03)

POST /convert/pptx/to/ppt


Convert/downgrade modern Office PowerPoint PPTX Presentation to the legacy PowerPoint PPT (97-2003 Format) format



Code Example:
200 OK

OK

type
object
Response Content-Types: application/octet-stream
Response Example (200 OK)
"object"

Convert Word DOC (97-03) Document to Text (txt)

POST /convert/doc/to/txt


Convert Office Word DOC (97-03) Document (doc) to text



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "TextResult": "string"
}

Convert PowerPoint PPTX Presentation to PDF

POST /convert/pptx/to/pdf


Convert Office PowerPoint Documents (pptx) to standard PDF



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert PowerPoint PPTX Presentation to Text (txt)

POST /convert/pptx/to/txt


Convert Office PowerPoint Documents (pptx) to standard Text



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "TextResult": "string"
}

Convert PowerPoint PPTX to PNG image array

POST /convert/pptx/to/png


Converts a PowerPoint Presentation (PPTX) file to an array of PNG images, one for each page.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "PngResultPages": [
    {
      "PageNumber": "integer (int32)",
      "URL": "string"
    }
  ]
}

Convert PowerPoint PPT (97-03) Presentation to PDF

POST /convert/ppt/to/pdf


Convert Office PowerPoint (97-2003) Documents (ppt) to standard PDF



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert PowerPoint PPT (97-03) Presentation to PPTX

POST /convert/ppt/to/pptx


Convert/upgrade Office PowerPoint (97-2003) Documents (ppt) to modern PPTX



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Excel XLSX Spreadsheet to PDF

POST /convert/xlsx/to/pdf


Convert Office Excel Workbooks (XLSX) to standard PDF. Converts all worksheets in the workbook to PDF. Supports both XLSX and XLSB Excel file formats.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Excel XLSX Spreadsheet to Text (txt)

POST /convert/xlsx/to/txt


Convert Office Excel Workbooks (XLSX) to standard Text. Converts all worksheets in the workbook to Text. Supports both XLSX and XLSB file formats. When a spreadsheet contains multiple worksheets, will export all of the text from all of the worksheets. If you wish to export the text from only one worksheet, try using the Split XLSX API to split the spreadsheet into multiple worksheet files, and then run XLSX to Text on the individual worksheet file that you need to extract the text from.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "TextResult": "string"
}

Convert Excel XLSX Spreadsheet to HTML Document

POST /convert/xlsx/to/html


Convert Office Excel Spreadsheet (XLSX) to HTML Document. Converts all worksheets to HTML. Supports both XLSX and XLSB Excel file formats.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Excel XLS (97-03) Spreadsheet to PDF

POST /convert/xls/to/pdf


Convert Office Excel (97-2003) Workbooks (xls) to standard PDF. Converts all worksheets in the workbook to PDF.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Excel XLS (97-03) Spreadsheet to XLSX

POST /convert/xls/to/xlsx


Convert/upgrade Office Excel (97-2003) Workbooks (xls) to modern XLSX format.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Excel XLS (97-03) Spreadsheet to CSV

POST /convert/xls/to/csv


Convert/upgrade Office Excel (97-2003) Workbooks (xls) to standard CSV format.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert CSV to Excel XLSX Spreadsheet

POST /convert/csv/to/xlsx


Convert CSV file to Office Excel XLSX Workbooks file format.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert CSV to PDF document

POST /convert/csv/to/pdf


Convert Comma-Separated Values (CSV) file to PDF document.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert CSV to HTML document

POST /convert/csv/to/html


Convert Comma-Separated Values (CSV) file to HTML document.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Multiple CSV Files into a Single XLSX Spreadsheet

POST /convert/csv/multi/to/xlsx


Convert multiple Comma-Separated Values (CSV) files into a single Excel XLSX Spreadsheet, with one worksheet corresponding to each CSV file.



inputFile1: file
in formData

First input file to perform the operation on.

inputFile2: file
in formData

Second input file to perform the operation on.

inputFile3: file
in formData

Third input file to perform the operation on.

inputFile4: file
in formData

Fourth input file to perform the operation on.

inputFile5: file
in formData

Fifth input file to perform the operation on.

inputFile6: file
in formData

Sixth input file to perform the operation on.

inputFile7: file
in formData

Seventh input file to perform the operation on.

inputFile8: file
in formData

Eighth input file to perform the operation on.

inputFile9: file
in formData

Ninth input file to perform the operation on.

inputFile10: file
in formData

Tenth input file to perform the operation on.

worksheetNames: string
in header

Optional; Specify the name of each CSV's worksheet in order, separated with commas (e.g. "worksheet1,worksheet2,worksheet3"). Defaults to the names of the input CSV files. Recommended when inputting the files directly, without file names.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Excel XLSX Spreadsheet to CSV, Single Worksheet

POST /convert/xlsx/to/csv


Convert Office Excel Workbooks (XLSX) to standard Comma-Separated Values (CSV) format. Supports both XLSX and XLSB file Excel formats. If the input file contains multiple worksheets, the first one is used. If you wish to convert all of the worksheets (not just the first one), be sure to use the xlsx/to/csv/multi API.



inputFile: file
in formData

Input file to perform the operation on.

outputEncoding: string
in header

Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Excel XLSX Spreadsheet to CSV, Multiple Worksheets

POST /convert/xlsx/to/csv/multi


Convert Office Excel Workbooks (XLSX) to standard Comma-Separated Values (CSV) format, with support for multiple worksheets. Supports both XLSX and XLSB file Excel formats. Returns multiple CSV files, one for each worksheet (tab) in the spreadsheet.



inputFile: file
in formData

Input file to perform the operation on.

outputEncoding: string
in header

Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8.

Code Example:
200 OK

OK

Response Content-Types: application/octet-stream
Response Example (200 OK)
{
  "Successful": "boolean",
  "CsvFiles": [
    {
      "Title": "string",
      "FileContents": "string (byte)"
    }
  ],
  "FileCount": "integer (int32)"
}

Convert Excel XLSX spreadsheet to PNG image array

POST /convert/xlsx/to/png


Converts an Excel Spreadsheet (XLSX) file to an array of PNG images, one for each page.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "PngResultPages": [
    {
      "PageNumber": "integer (int32)",
      "URL": "string"
    }
  ]
}

Convert HTML document file to PDF Document

POST /convert/html/to/pdf


Convert standard HTML, with full support for CSS, JavaScript, Images, and other complex behavior to PDF. To use external files such as images, use an absolute URL to the file.



inputFile: file
in formData

Input file to perform the operation on.

includeBackgroundGraphics: boolean
in header

Optional: Set to true to include background graphics in the PDF, or false to not include. Default is true.

scaleFactor: integer
in header

Optional: Set to 100 to scale at 100%, set to 50% to scale down to 50% scale, set to 200% to scale up to 200% scale, etc. Default is 100%. Maximum is 1000%.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert HTML document file to PNG image array

POST /convert/html/to/png


Convert standard HTML, with full support for CSS, JavaScript, Images, and other complex behavior to an array of PNG images, one for each page. To use external files in your HTML such as images, use an absolute URL to the file.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "PngResultPages": [
    {
      "PageNumber": "integer (int32)",
      "URL": "string"
    }
  ]
}

HTML Document file to Text (txt)

POST /convert/html/to/txt


HTML document to text



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "TextResult": "string"
}

Get document type information

POST /convert/autodetect/get-info


Auto-detects a document's type information; does not require file extension. Analyzes file contents to confirm file type. Even if no file extension is present, the auto-detect system will reliably analyze the contents of the file and identify its file type. Supports over 100 image file formats, Office document file formats, PDF, and more.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "DetectedFileExtension": "string",
  "DetectedMimeType": "string",
  "PageCount": "integer (int64)",
  "Author": "string",
  "DateModified": "string (date-time)",
  "AlternateFileTypeCandidates": [
    {
      "Probability": "number (double)",
      "DetectedFileExtension": "string",
      "DetectedMimeType": "string"
    }
  ]
}

Get PNG icon byte array for the file extension

POST /convert/autodetect/get-icon/advanced


Returns a PNG icon for the given file format extension directly as a byte array. User may specify the icon size. Supports over 100 file formats, with a generic icon for unsupported formats.



fileExtension: string
in header

Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters.

iconSize: integer
in header

Optional; The desired width of the icon, preserving its aspect ratio.

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "Icon": "string (byte)",
  "Extension": "string"
}

Get PNG icon file for the file extension

POST /convert/autodetect/get-icon


Returns a PNG icon for the given file format extension as a file for download. User may specify the icon size. Supports over 100 file formats, with a generic icon for unsupported formats.



fileExtension: string
in header

Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters.

iconSize: integer
in header

Optional; The desired width of the icon, preserving its aspect ratio.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Document to PDF

POST /convert/autodetect/to/pdf


Automatically detect file type and convert it to PDF. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Document to Text (txt)

POST /convert/autodetect/to/txt


Automatically detect file type and convert it to Text. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT) and PDF files. For spreadsheets, all worksheets will be included. If you wish to exclude certain pages, worksheets, slides, etc. use the Split document API first, or the delete pages/slides/worksheet APIs first to adjust the document to the target state prior to converting to text.



inputFile: file
in formData

Input file to perform the operation on.

textFormattingMode: string
in header

Optional; specify how whitespace should be handled when converting the document to text. Possible values are 'preserveWhitespace' which will attempt to preserve whitespace in the document and relative positioning of text within the document, and 'minimizeWhitespace' which will not insert additional spaces into the document in most cases. Default is 'preserveWhitespace'.

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "TextResult": "string"
}

Convert Document to PNG array

POST /convert/autodetect/to/png


Automatically detect file type and convert it to an array of PNG images. Supports all of the major Office document file formats, over 100 image formats, and even multi-page TIFF files.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "PngResultPages": [
    {
      "PageNumber": "integer (int32)",
      "URL": "string"
    }
  ]
}

Convert Document to JPG/JPEG image array

POST /convert/autodetect/to/jpg


Automatically detect file type and convert it to an array of JPG/JPEG Images. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Customize image quality using quality header.



inputFile: file
in formData

Input file to perform the operation on.

quality: integer
in header

Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75.

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "JpgResultPages": [
    {
      "PageNumber": "integer (int32)",
      "Content": "string (byte)"
    }
  ]
}

Convert File to Thumbnail Image Object

POST /convert/autodetect/to/thumbnail/advanced


Automatically detect file type and convert it to an array of PNG thumbnails, returned as an object. May specify the number of pages for multiple thumbnails; default is one thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats. Maximum thumbnail size is 2048x2048.



inputFile: file
in formData

Input file to perform the operation on.

pages: integer
in header

Optional; Specify how many pages of the document will be converted to thumbnails. Default is 1 page.

maxWidth: integer
in header

Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.

maxHeight: integer
in header

Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.

extension: string
in header

Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "ThumbnailPages": [
    {
      "Index": "integer (int32)",
      "Content": "string (byte)"
    }
  ]
}

Convert File to Thumbnail Image

POST /convert/autodetect/to/thumbnail


Automatically detect file type and convert it to a PNG thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats. Maximum thumbnail size is 2048x2048.



inputFile: file
in formData

Input file to perform the operation on.

maxWidth: integer
in header

Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.

maxHeight: integer
in header

Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.

extension: string
in header

Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert PDF to PNG Image Array

POST /convert/pdf/to/png


Convert PDF document to PNG array, one image per page.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "PngResultPages": [
    {
      "PageNumber": "integer (int32)",
      "URL": "string"
    }
  ]
}

Convert PDF to JPG/JPEG image array

POST /convert/pdf/to/jpg


Converts a PDF Document to an array of JPG/JPEG images, one for each page. Customize image quality using quality header.



inputFile: file
in formData

Input file to perform the operation on.

quality: integer
in header

Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "JpgResultPages": [
    {
      "PageNumber": "integer (int32)",
      "Content": "string (byte)"
    }
  ]
}

Convert PNG Array to PDF

POST /convert/png/to/pdf


Convert an array of PNG images, one image per page, into a newly-created PDF. Supports images of different sizes as input.



inputFile1: file
in formData

First input file to perform the operation on.

inputFile2: file
in formData

Second input file to perform the operation on.

inputFile3: file
in formData

Third input file to perform the operation on.

inputFile4: file
in formData

Fourth input file to perform the operation on.

inputFile5: file
in formData

Fifth input file to perform the operation on.

inputFile6: file
in formData

Sixth input file to perform the operation on.

inputFile7: file
in formData

Seventh input file to perform the operation on.

inputFile8: file
in formData

Eighth input file to perform the operation on.

inputFile9: file
in formData

Ninth input file to perform the operation on.

inputFile10: file
in formData

Tenth input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert PDF to Single PNG image

POST /convert/pdf/to/png/merge-single


Convert PDF document to a single tall PNG image, by stacking/concatenating the images vertically into a single "tall" image



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert PDF Document to Text (txt)

POST /convert/pdf/to/txt


PDF document to text



inputFile: file
in formData

Input file to perform the operation on.

textFormattingMode: string
in header

Optional; specify how whitespace should be handled when converting PDF to text. Possible values are 'preserveWhitespace' which will attempt to preserve whitespace in the document and relative positioning of text within the document, and 'minimizeWhitespace' which will not insert additional spaces into the document in most cases. Default is 'preserveWhitespace'.

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "TextResult": "string"
}

Convert PDF to Word DOCX Document

POST /convert/pdf/to/docx


Convert standard PDF to Office Word Documents (docx). Converts a PDF at high fidelity into Word format, where it can be easily edited and processed.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert PDF to Word DOCX Document based on rasterized version of the PDF

POST /convert/pdf/to/docx/rasterize


Convert standard PDF to Office Word Documents (docx), but first rasterize the PDF. Converts a PDF at high fidelity into Word format.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert PDF to PowerPoint PPTX Presentation

POST /convert/pdf/to/pptx


Convert standard PDF to Office PowerPoint Presentation (pptx). Converts a PDF file at high fidelity into PowerPoint format, where it can be easily edited and processed.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Email EML file to HTML string

POST /convert/eml/to/html


Convert Outlook Email EML file to HTML string and attachments. Supports images if they are base 64 inline.



inputFile: file
in formData

Input file to perform the operation on.

bodyOnly: boolean
in header

Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.

includeAttachments: boolean
in header

Optional; If false, the response object will not include any attachment files from the input file. Default is true.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "Content": "string",
  "Body": "string",
  "From": "string",
  "To": "string",
  "Cc": "string",
  "DateSent": "string",
  "Subject": "string",
  "Attachments": [
    {
      "Name": "string",
      "Content": "string (byte)"
    }
  ]
}

Convert Email EML file to PDF document

POST /convert/eml/to/pdf


Convert Outlook Email EML file to PDF document. Supports images if they are base 64 inline.



inputFile: file
in formData

Input file to perform the operation on.

bodyOnly: boolean
in header

Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Email EML file to PNG image array

POST /convert/eml/to/png


Converts an Outlook Email File (EML) to an array of PNG images, one for each page.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "PngResultPages": [
    {
      "PageNumber": "integer (int32)",
      "URL": "string"
    }
  ]
}

Convert Email EML file to JPG/JPEG image array

POST /convert/eml/to/jpg


Converts an Outlook Email File (EML) to an array of JPG/JPEG images, one for each page. Customize image quality using quality header.



inputFile: file
in formData

Input file to perform the operation on.

quality: integer
in header

Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "JpgResultPages": [
    {
      "PageNumber": "integer (int32)",
      "Content": "string (byte)"
    }
  ]
}

Convert Email MSG file to HTML string

POST /convert/msg/to/html


Convert Outlook Email MSG file to HTML string and attachments. Supports images if they are base 64 inline. Supports most, but not all, RTF bodied MSG files.



inputFile: file
in formData

Input file to perform the operation on.

bodyOnly: boolean
in header

Optional; If true, the HTML string will only include the body of the MSG. Other information such as subject will still be given as properties in the response object. Default is false.

includeAttachments: boolean
in header

Optional; If false, the response object will not include any attachment files from the input file. Default is true.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "Content": "string",
  "Body": "string",
  "From": "string",
  "To": "string",
  "Cc": "string",
  "ReceivedTime": "string",
  "Subject": "string",
  "Attachments": [
    {
      "Name": "string",
      "Content": "string (byte)"
    }
  ]
}

Convert Email MSG file to PDF document

POST /convert/msg/to/pdf


Convert Outlook Email MSG file to PDF document. Supports images if they are base 64 inline. Supports most, but not all, RTF bodied MSG files.



inputFile: file
in formData

Input file to perform the operation on.

bodyOnly: boolean
in header

Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Email MSG file to PNG image array

POST /convert/msg/to/png


Converts an Outlook Email Message File (MSG) to an array of PNG images, one for each page.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "PngResultPages": [
    {
      "PageNumber": "integer (int32)",
      "URL": "string"
    }
  ]
}

Convert Email MSG file to JPG/JPEG image array

POST /convert/msg/to/jpg


Converts an Outlook Message File (MSG) to an array of JPG/JPEG images, one for each page. Customize image quality using quality header.



inputFile: file
in formData

Input file to perform the operation on.

quality: integer
in header

Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "JpgResultPages": [
    {
      "PageNumber": "integer (int32)",
      "Content": "string (byte)"
    }
  ]
}

Convert ODT Text File to PDF

POST /convert/odt/to/pdf


Convert Office Open Document Text File (ODT) to standard PDF



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert ODT Text File to Word DOCX

POST /convert/odt/to/docx


Convert Office Open Document Text File (ODT) to Word DOCX Document



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert ODT Text File to PNG image array

POST /convert/odt/to/png


Converts an Office Open Document Text File (ODT) to an array of PNG images, one for each page.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "PngResultPages": [
    {
      "PageNumber": "integer (int32)",
      "URL": "string"
    }
  ]
}

Convert ODT Text File to JPG/JPEG image array

POST /convert/odt/to/jpg


Converts an Open Document Text File (ODT) to an array of JPG/JPEG images, one for each page. Customize image quality using quality header.



inputFile: file
in formData

Input file to perform the operation on.

quality: integer
in header

Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "JpgResultPages": [
    {
      "PageNumber": "integer (int32)",
      "Content": "string (byte)"
    }
  ]
}

Convert ODS Spreadsheet to PDF

POST /convert/ods/to/pdf


Convert Office Open Document Spreadsheet (ODS) to standard PDF



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert ODS Spreadsheet to XLSX

POST /convert/ods/to/xlsx


Convert Office Open Document Spreadsheet (ODS) to Excel Spreadsheet (XLSX)



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert ODS Spreadsheet to PNG image array

POST /convert/ods/to/png


Converts an Office Open Document Spreadsheet (ODS) to an array of PNG images, one for each page.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "PngResultPages": [
    {
      "PageNumber": "integer (int32)",
      "URL": "string"
    }
  ]
}

Convert ODS Spreadsheet to JPG/JPEG image array

POST /convert/ods/to/jpg


Converts an Open Document Spreadsheet (ODS) to an array of JPG/JPEG images, one for each page. Customize image quality using quality header.



inputFile: file
in formData

Input file to perform the operation on.

quality: integer
in header

Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "JpgResultPages": [
    {
      "PageNumber": "integer (int32)",
      "Content": "string (byte)"
    }
  ]
}

Convert ODP Presentation to PDF

POST /convert/odp/to/pdf


Convert Office Open Document Presentation (ODP) to standard PDF



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert ODP Presentation to PPTX

POST /convert/odp/to/pptx


Convert Office Open Document Presentation (ODP) to PowerPoint Presentation (PPTX)



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert ODP Presentation to PNG image array

POST /convert/odp/to/png


Converts an Office Open Document Presentation (ODP) to an array of PNG images, one for each page.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "PngResultPages": [
    {
      "PageNumber": "integer (int32)",
      "URL": "string"
    }
  ]
}

Convert ODP Presentation to JPG/JPEG image array

POST /convert/odp/to/jpg


Converts an Open Document Presentation (ODP) to an array of JPG/JPEG images, one for each page. Customize image quality using quality header.



inputFile: file
in formData

Input file to perform the operation on.

quality: integer
in header

Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "JpgResultPages": [
    {
      "PageNumber": "integer (int32)",
      "Content": "string (byte)"
    }
  ]
}

Convert Keynote Presentation (KEY) to PDF

POST /convert/key/to/pdf


Convert Mac Keynote Presentation (KEY) to standard PDF



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Keynote Presentation (KEY) to PPTX

POST /convert/key/to/pptx


Convert Mac Keynote Presentation (KEY) to PowerPoint Presentation (PPTX)



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Keynote Presentation (KEY) to PNG image array

POST /convert/key/to/png


Converts a Mac Keynote Presentation (KEY) to an array of PNG images, one for each page.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "PngResultPages": [
    {
      "PageNumber": "integer (int32)",
      "URL": "string"
    }
  ]
}

Convert Keynote Presentation (KEY) to JPG/JPEG image array

POST /convert/key/to/jpg


Converts a Mac Keynote Presentation (KEY) to an array of JPG/JPEG images, one for each page. Customize image quality using quality header.



inputFile: file
in formData

Input file to perform the operation on.

quality: integer
in header

Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "JpgResultPages": [
    {
      "PageNumber": "integer (int32)",
      "Content": "string (byte)"
    }
  ]
}

Convert Rich Text Format RTF to PDF

POST /convert/rtf/to/pdf


Convert Rich Text Format Document (RTF) to standard PDF



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Rich Text Format RTF to HTML Document

POST /convert/rtf/to/html


Convert Rich Text Format Document (RTF) to HTML Document



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Rich Text Format RTF to DOCX Document

POST /convert/rtf/to/docx


Convert Rich Text Format Document (RTF) to Word DOCX Document



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Rich Text Format RTF to PNG image array

POST /convert/rtf/to/png


Converts a Rich Text Format Document (RTF) to an array of PNG images, one for each page.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "PngResultPages": [
    {
      "PageNumber": "integer (int32)",
      "URL": "string"
    }
  ]
}

Convert Rich Text Format RTF to JPG/JPEG image array

POST /convert/rtf/to/jpg


Converts a Rich Text Format Document (RTF) to an array of JPG/JPEG images, one for each page. Customize image quality using quality header.



inputFile: file
in formData

Input file to perform the operation on.

quality: integer
in header

Optional; Set the JPEG quality level; lowest quality is 1 (highest compression), highest quality (lowest compression) is 100; recommended value is 75. Default value is 75.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "JpgResultPages": [
    {
      "PageNumber": "integer (int32)",
      "Content": "string (byte)"
    }
  ]
}

ConvertImage

Image format conversion

POST /convert/image/{format1}/to/{format2}


Convert between over 100 file formats, including key formats such as Photoshop (PSD), PNG, JPG, GIF, NEF, and BMP.



format1: string
in path

Input file format as a 3+ letter file extension. You can also provide UNKNOWN for unknown file formats. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV

format2: string
in path

Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV

inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Multi-page image format conversion

POST /convert/image-multipage/{format1}/to/{format2}


Convert between over 100 file formats, including support for Multiple-Page formats (e.g. PDFs, TIFFs, etc. with multiple pages).



format1: string
in path

Input file format as a 3+ letter file extension. You can also provide UNKNOWN for unknown file formats. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV

format2: string
in path

Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV

inputFile: file
in formData

Input file to perform the operation on.

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "PageCount": "integer (int32)",
  "Pages": [
    {
      "Filename": "string",
      "FileBytes": "string (byte)"
    }
  ]
}

Change image DPI

POST /convert/image/set-dpi/{dpi}


Resize an image to have a different DPI



dpi: integer (int32)
in path

New DPI in pixels-per-inch, for example 300 DPI or 600 DPI

inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Get information about an image

POST /convert/image/get-info


Get details from an image such as size, format and MIME type, compression, EXIF data such as location, DPI, unique colors, transparency information, and more



inputFile: file
in formData

Input file to perform the operation on.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "ColorSpace": "string",
  "ColorType": "string",
  "Width": "integer (int32)",
  "Height": "integer (int32)",
  "CompressionLevel": "integer (int32)",
  "ImageHashSignature": "string",
  "HasTransparency": "boolean",
  "MimeType": "string",
  "ImageFormat": "string",
  "DPIUnit": "string",
  "DPI": "number (double)",
  "ColorCount": "integer (int32)",
  "BitDepth": "integer (int32)",
  "Comment": "string",
  "ExifProfileName": "string",
  "ExifValues": [
    {
      "Tag": "string",
      "DataType": "string",
      "DataValue": "string"
    }
  ]
}

ConvertTemplate

Apply HTML template

POST /convert/template/html/apply


Apply operations to fill in an HTML template, generating a final HTML result



Operations to apply to template

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "HtmlTemplate": "string",
  "HtmlTemplateUrl": "string",
  "Operations": [
    {
      "Action": "integer (int32)",
      "MatchAgsint": "string",
      "ReplaceWith": "string"
    }
  ]
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "FinalHtml": "string"
}

Apply Word DOCX template

POST /convert/template/docx/apply


Apply operations to fill in a Word DOCX template by replacing target template/placeholder strings in the DOCX with values, generating a final Word DOCX result. For example, you could create a Word Document invoice containing strings such as "{FirstName}" and "{LastName}" and then replace these values with "John" and "Smith".



templateDefinition: application/json
in header

Template definition for the document, including what values to replace

inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

ConvertWeb

Take screenshot of URL

POST /convert/web/url/to/screenshot


Fully renders a website and returns a PNG screenshot of the full page image. Javascript, HTML5, CSS and other advanced features are all supported.



Screenshot request parameters

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "Url": "string",
  "ExtraLoadingWait": "integer (int32)",
  "ScreenshotWidth": "integer (int32)",
  "ScreenshotHeight": "integer (int32)"
}
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert a URL to PDF

POST /convert/web/url/to/pdf


Fully renders a website and returns a PDF of the full page. Javascript, HTML5, CSS and other advanced features are all supported.



URL to PDF request parameters

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "Url": "string",
  "ExtraLoadingWait": "integer (int32)",
  "IncludeBackgroundGraphics": "boolean",
  "ScaleFactor": "integer (int32)"
}
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert website URL page to text (txt)

POST /convert/web/url/to/txt


Converts a website URL page into text (txt); extracts text from HTML



HTML to Text request parameters

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "Url": "string"
}

OK

Response Content-Types: application/octet-stream
Response Example (200 OK)
{
  "Successful": "boolean",
  "TextContentResult": "string"
}

Convert HTML string to PDF

POST /convert/web/html/to/pdf


Fully renders a website and returns a PDF of the HTML. Javascript, HTML5, CSS and other advanced features are all supported.



HTML to PDF request parameters

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "Html": "string",
  "ExtraLoadingWait": "integer (int32)",
  "IncludeBackgroundGraphics": "boolean",
  "ScaleFactor": "integer (int32)"
}
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert HTML string to PNG screenshot

POST /convert/web/html/to/png


Fully renders a website and returns a PNG (screenshot) of the HTML. Javascript, HTML5, CSS and other advanced features are all supported.



HTML to PNG request parameters

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "Html": "string",
  "ExtraLoadingWait": "integer (int32)",
  "ScreenshotWidth": "integer (int32)",
  "ScreenshotHeight": "integer (int32)"
}
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert HTML string to text (txt)

POST /convert/web/html/to/txt


Converts an HTML string input into text (txt); extracts text from HTML



HTML to Text request parameters

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "Html": "string"
}

OK

Response Content-Types: application/octet-stream
Response Example (200 OK)
{
  "Successful": "boolean",
  "TextContentResult": "string"
}

Convert HTML to Word DOCX Document

POST /convert/html/to/docx


Convert HTML to Office Word Document (DOCX) format



HTML input to convert to DOCX

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "Html": "string"
}
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Convert Markdown to HTML

POST /convert/web/md/to/html


Convert a markdown file (.md) to HTML



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

Response Content-Types: application/octet-stream
Response Example (200 OK)
{
  "Successful": "boolean",
  "Html": "string"
}

EditDocument

Begin editing a document

POST /convert/edit/begin-editing


Uploads a document to Cloudmersive to begin a series of one or more editing operations. To edit a document, first call Begin Editing on the document. Then perform operations on the document using the secure URL returned from BeginEditing, such as Word DOCX Delete Pages and Insert Table. Finally, perform finish editing on the URL to return the resulting edited document. The editing URL is temporary and only stored in-memory cache, and will automatically expire from the cache after 30 minutes, and cannot be directly accessed.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
"string"

Finish editing document, and download result from document editing

POST /convert/edit/finish-editing


Once done editing a document, download the result. Begin editing a document by calling begin-editing, then perform operations, then call finish-editing to get the result.



Cloudmersive Document URL to complete editing on

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileUrl": "string"
}
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Create a blank Word DOCX document

POST /convert/edit/docx/create/blank


Returns a blank Word DOCX Document format file. The file is blank, with no contents. Use additional editing commands such as Insert Paragraph or Insert Table or Insert Image to populate the document.



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InitialText": "string"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "EditedDocumentURL": "string"
}

Replace string in Word DOCX document

POST /convert/edit/docx/replace-all


Replace all instances of a string in an Office Word Document (docx)



Document string replacement configuration input

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "MatchString": "string",
  "ReplaceString": "string",
  "MatchCase": "boolean"
}
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Replace multiple strings in Word DOCX document

POST /convert/edit/docx/replace-all/multi


Replace all instances of multiple strings in an Office Word Document (docx)



Document string replacement configuration input

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "ReplaceStrings": [
    {
      "MatchString": "string",
      "ReplaceString": "string",
      "MatchCase": "boolean"
    }
  ]
}
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Replace string in PowerPoint PPTX presentation

POST /convert/edit/pptx/replace-all


Replace all instances of a string in an Office PowerPoint Document (pptx)



Replacement document configuration input

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "MatchString": "string",
  "ReplaceString": "string",
  "MatchCase": "boolean"
}
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Get macro information from a PowerPoint PPTX/PPTM presentation document

POST /convert/edit/pptx/get-macros


Returns information about the Macros (e.g. VBA) defined in the PowerPoint Document



inputFile: file
in formData

Input file to perform the operation on.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "ContainsVbaMacros": "boolean"
}

Get all metadata properties in Word DOCX document

POST /convert/edit/docx/get-metadata


Returns all the metadata properties in an Office Word Document (docx)



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Company": "string",
  "Manager": "string",
  "ApplicationVersion": "string",
  "WordCount": "integer (int64)",
  "LineCount": "integer (int64)",
  "ParagraphCount": "integer (int64)",
  "PageCount": "integer (int64)",
  "CustomProperties": [
    {
      "PropertyName": "string",
      "PropertyDataType": "string",
      "StringValue": "string",
      "IntegerValue": "integer (int64)",
      "DoubleValue": "number (double)",
      "DateValue": "string (date-time)"
    }
  ],
  "Successful": "boolean"
}

Set custom property metadata properties in Word DOCX document

POST /convert/edit/docx/set-metadata/custom-property


Sets the custom property metadata for the metadata properties in an Office Word Document (docx)



Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "PropertiesToSet": [
    {
      "PropertyName": "string",
      "PropertyDataType": "string",
      "StringValue": "string",
      "IntegerValue": "integer (int64)",
      "DoubleValue": "number (double)",
      "DateValue": "string (date-time)"
    }
  ]
}
200 OK

OK

type
string (byte)
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
"string (byte)"

Get all tables in Word DOCX document

POST /convert/edit/docx/get-tables


Returns all the table objects in an Office Word Document (docx)



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "Tables": [
    {
      "TableID": "string",
      "Path": "string",
      "Width": "string",
      "WidthType": "string",
      "TableRows": [
        {
          "RowIndex": "integer (int32)",
          "Path": "string",
          "RowCells": [
            {
              "CellIndex": "integer (int32)",
              "Path": "string",
              "Paragraphs": [
                {
                  "ParagraphIndex": "integer (int32)",
                  "Path": "string",
                  "ContentRuns": [
                    {
                      "RunIndex": "integer (int32)",
                      "Path": "string",
                      "TextItems": [
                        {
                          "TextIndex": "integer (int32)",
                          "Path": "string",
                          "TextContent": "string"
                        }
                      ],
                      "Bold": "boolean",
                      "Italic": "boolean",
                      "Underline": "string",
                      "FontFamily": "string",
                      "FontSize": "string"
                    }
                  ],
                  "StyleID": "string"
                }
              ],
              "CellShadingColor": "string",
              "CellShadingFill": "string",
              "CellShadingPattern": "string",
              "CellWidthMode": "string",
              "CellWidth": "string"
            }
          ]
        }
      ],
      "TopBorderType": "string",
      "TopBorderSize": "integer (int32)",
      "TopBorderSpace": "integer (int32)",
      "TopBorderColor": "string",
      "BottomBorderType": "string",
      "BottomBorderSize": "integer (int32)",
      "BottomBorderSpace": "integer (int32)",
      "BottomBorderColor": "string",
      "LeftBorderType": "string",
      "LeftBorderSize": "integer (int32)",
      "LeftBorderSpace": "integer (int32)",
      "LeftBorderColor": "string",
      "RightBorderType": "string",
      "RightBorderSize": "integer (int32)",
      "RightBorderSpace": "integer (int32)",
      "RightBorderColor": "string",
      "CellHorizontalBorderType": "string",
      "CellHorizontalBorderSize": "integer (int32)",
      "CellHorizontalBorderSpace": "integer (int32)",
      "CellHorizontalBorderColor": "string",
      "CellVerticalBorderType": "string",
      "CellVerticalBorderSize": "integer (int32)",
      "CellVerticalBorderSpace": "integer (int32)",
      "CellVerticalBorderColor": "string",
      "StartBorderType": "string",
      "StartBorderSize": "integer (int32)",
      "StartBorderSpace": "integer (int32)",
      "StartBorderColor": "string",
      "EndBorderType": "string",
      "EndBorderSize": "integer (int32)",
      "EndBorderSpace": "integer (int32)",
      "EndBorderColor": "string",
      "TableIndentationMode": "string",
      "TableIndentationWidth": "integer (int32)"
    }
  ]
}

Get a specific table by index in a Word DOCX document

POST /convert/edit/docx/get-table/by-index


Returns the specific table object by its 0-based index in an Office Word Document (DOCX)



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "TableIndex": "integer (int32)"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "Table": {
    "TableID": "string",
    "Path": "string",
    "Width": "string",
    "WidthType": "string",
    "TableRows": [
      {
        "RowIndex": "integer (int32)",
        "Path": "string",
        "RowCells": [
          {
            "CellIndex": "integer (int32)",
            "Path": "string",
            "Paragraphs": [
              {
                "ParagraphIndex": "integer (int32)",
                "Path": "string",
                "ContentRuns": [
                  {
                    "RunIndex": "integer (int32)",
                    "Path": "string",
                    "TextItems": [
                      {
                        "TextIndex": "integer (int32)",
                        "Path": "string",
                        "TextContent": "string"
                      }
                    ],
                    "Bold": "boolean",
                    "Italic": "boolean",
                    "Underline": "string",
                    "FontFamily": "string",
                    "FontSize": "string"
                  }
                ],
                "StyleID": "string"
              }
            ],
            "CellShadingColor": "string",
            "CellShadingFill": "string",
            "CellShadingPattern": "string",
            "CellWidthMode": "string",
            "CellWidth": "string"
          }
        ]
      }
    ],
    "TopBorderType": "string",
    "TopBorderSize": "integer (int32)",
    "TopBorderSpace": "integer (int32)",
    "TopBorderColor": "string",
    "BottomBorderType": "string",
    "BottomBorderSize": "integer (int32)",
    "BottomBorderSpace": "integer (int32)",
    "BottomBorderColor": "string",
    "LeftBorderType": "string",
    "LeftBorderSize": "integer (int32)",
    "LeftBorderSpace": "integer (int32)",
    "LeftBorderColor": "string",
    "RightBorderType": "string",
    "RightBorderSize": "integer (int32)",
    "RightBorderSpace": "integer (int32)",
    "RightBorderColor": "string",
    "CellHorizontalBorderType": "string",
    "CellHorizontalBorderSize": "integer (int32)",
    "CellHorizontalBorderSpace": "integer (int32)",
    "CellHorizontalBorderColor": "string",
    "CellVerticalBorderType": "string",
    "CellVerticalBorderSize": "integer (int32)",
    "CellVerticalBorderSpace": "integer (int32)",
    "CellVerticalBorderColor": "string",
    "StartBorderType": "string",
    "StartBorderSize": "integer (int32)",
    "StartBorderSpace": "integer (int32)",
    "StartBorderColor": "string",
    "EndBorderType": "string",
    "EndBorderSize": "integer (int32)",
    "EndBorderSpace": "integer (int32)",
    "EndBorderColor": "string",
    "TableIndentationMode": "string",
    "TableIndentationWidth": "integer (int32)"
  }
}

Get images from a Word DOCX document

POST /convert/edit/docx/get-images


Returns the images defined in the Word Document (DOCX) format file



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "Images": [
    {
      "Path": "string",
      "ImageName": "string",
      "ImageId": "integer (int64)",
      "ImageDescription": "string",
      "ImageWidth": "integer (int64)",
      "ImageHeight": "integer (int64)",
      "XOffset": "integer (int64)",
      "YOffset": "integer (int64)",
      "ImageDataEmbedId": "string",
      "ImageDataContentType": "string",
      "ImageInternalFileName": "string",
      "ImageContentsURL": "string",
      "InlineWithText": "boolean"
    }
  ]
}

Get macro information from a Word DOCX/DOCM document

POST /convert/edit/docx/get-macros


Returns information about the Macros (e.g. VBA) defined in the Word Document



inputFile: file
in formData

Input file to perform the operation on.

Code Example:

OK

Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "ContainsVbaMacros": "boolean"
}

Get styles from a Word DOCX document

POST /convert/edit/docx/get-styles


Returns the styles defined in the Word Document (DOCX) format file



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "Styles": [
    {
      "StyleID": "string",
      "Path": "string",
      "Bold": "boolean",
      "Italic": "boolean",
      "Underline": "boolean",
      "FontSize": "string",
      "FontFamily": "string"
    }
  ]
}

Get sections from a Word DOCX document

POST /convert/edit/docx/get-sections


Returns the sections defined in the Word Document (DOCX) format file



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "Sections": [
    {
      "StartingPageNumbers": [
        "integer (int32)"
      ],
      "Path": "string"
    }
  ]
}

Get body from a Word DOCX document

POST /convert/edit/docx/get-body


Returns the body defined in the Word Document (DOCX) format file; this is the main content part of a DOCX document



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "Body": {
    "Path": "string",
    "AllParagraphs": [
      {
        "ParagraphIndex": "integer (int32)",
        "Path": "string",
        "ContentRuns": [
          {
            "RunIndex": "integer (int32)",
            "Path": "string",
            "TextItems": [
              {
                "TextIndex": "integer (int32)",
                "Path": "string",
                "TextContent": "string"
              }
            ],
            "Bold": "boolean",
            "Italic": "boolean",
            "Underline": "string",
            "FontFamily": "string",
            "FontSize": "string"
          }
        ],
        "StyleID": "string"
      }
    ],
    "AllTables": [
      {
        "TableID": "string",
        "Path": "string",
        "Width": "string",
        "WidthType": "string",
        "TableRows": [
          {
            "RowIndex": "integer (int32)",
            "Path": "string",
            "RowCells": [
              {
                "CellIndex": "integer (int32)",
                "Path": "string",
                "Paragraphs": [
                  {
                    "ParagraphIndex": "integer (int32)",
                    "Path": "string",
                    "ContentRuns": [
                      {
                        "RunIndex": "integer (int32)",
                        "Path": "string",
                        "TextItems": [
                          {
                            "TextIndex": "integer (int32)",
                            "Path": "string",
                            "TextContent": "string"
                          }
                        ],
                        "Bold": "boolean",
                        "Italic": "boolean",
                        "Underline": "string",
                        "FontFamily": "string",
                        "FontSize": "string"
                      }
                    ],
                    "StyleID": "string"
                  }
                ],
                "CellShadingColor": "string",
                "CellShadingFill": "string",
                "CellShadingPattern": "string",
                "CellWidthMode": "string",
                "CellWidth": "string"
              }
            ]
          }
        ],
        "TopBorderType": "string",
        "TopBorderSize": "integer (int32)",
        "TopBorderSpace": "integer (int32)",
        "TopBorderColor": "string",
        "BottomBorderType": "string",
        "BottomBorderSize": "integer (int32)",
        "BottomBorderSpace": "integer (int32)",
        "BottomBorderColor": "string",
        "LeftBorderType": "string",
        "LeftBorderSize": "integer (int32)",
        "LeftBorderSpace": "integer (int32)",
        "LeftBorderColor": "string",
        "RightBorderType": "string",
        "RightBorderSize": "integer (int32)",
        "RightBorderSpace": "integer (int32)",
        "RightBorderColor": "string",
        "CellHorizontalBorderType": "string",
        "CellHorizontalBorderSize": "integer (int32)",
        "CellHorizontalBorderSpace": "integer (int32)",
        "CellHorizontalBorderColor": "string",
        "CellVerticalBorderType": "string",
        "CellVerticalBorderSize": "integer (int32)",
        "CellVerticalBorderSpace": "integer (int32)",
        "CellVerticalBorderColor": "string",
        "StartBorderType": "string",
        "StartBorderSize": "integer (int32)",
        "StartBorderSpace": "integer (int32)",
        "StartBorderColor": "string"
      }
    ]
  }
}

Find matching paragraphs in a Word DOCX document

POST /convert/edit/docx/find/paragraph


Returns the paragraphs defined in the Word Document (DOCX) format file that match the input criteria



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "FindString": "string",
  "MatchCase": "boolean"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "MatchingParagraphs": [
    {
      "ParagraphIndex": "integer (int32)",
      "Path": "string",
      "ContentRuns": [
        {
          "RunIndex": "integer (int32)",
          "Path": "string",
          "TextItems": [
            {
              "TextIndex": "integer (int32)",
              "Path": "string",
              "TextContent": "string"
            }
          ],
          "Bold": "boolean",
          "Italic": "boolean",
          "Underline": "string",
          "FontFamily": "string",
          "FontSize": "string"
        }
      ],
      "StyleID": "string"
    }
  ],
  "Count": "integer (int32)"
}

Replace matching paragraphs in a Word DOCX document

POST /convert/edit/docx/replace/paragraph


Returns the edited Word Document (DOCX) format file with the matching paragraphs replaced as requested. Replace a paragraph with another object such as an image. Useful for performing templating operations.



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "FindString": "string",
  "MatchCase": "boolean",
  "Replacement_Image": {
    "Path": "string",
    "ImageName": "string",
    "ImageId": "integer (int64)",
    "ImageDescription": "string",
    "ImageWidth": "integer (int64)",
    "ImageHeight": "integer (int64)",
    "XOffset": "integer (int64)",
    "YOffset": "integer (int64)",
    "ImageDataEmbedId": "string",
    "ImageDataContentType": "string",
    "ImageInternalFileName": "string",
    "ImageContentsURL": "string",
    "InlineWithText": "boolean"
  }
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "EditedDocumentURL": "string"
}

Get pages and content from a Word DOCX document

POST /convert/edit/docx/get-pages


Returns the pages and contents of each page defined in the Word Document (DOCX) format file



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "MaximumPages": "integer (int32)"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "Pages": [
    {
      "PageNumber": "integer (int32)",
      "Paragraphs": [
        {
          "ParagraphIndex": "integer (int32)",
          "Path": "string",
          "ContentRuns": [
            {
              "RunIndex": "integer (int32)",
              "Path": "string",
              "TextItems": [
                {
                  "TextIndex": "integer (int32)",
                  "Path": "string",
                  "TextContent": "string"
                }
              ],
              "Bold": "boolean",
              "Italic": "boolean",
              "Underline": "string",
              "FontFamily": "string",
              "FontSize": "string"
            }
          ],
          "StyleID": "string"
        }
      ]
    }
  ],
  "PageCount": "integer (int32)"
}

Get comments from a Word DOCX document as a flat list

POST /convert/edit/docx/get-comments/flat-list


Returns the comments and review annotations stored in the Word Document (DOCX) format file as a flattened list (not as a hierarchy of comments and replies).



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "Comments": [
    {
      "Path": "string",
      "Author": "string",
      "AuthorInitials": "string",
      "CommentText": "string",
      "CommentDate": "string (date-time)",
      "IsTopLevel": "boolean",
      "IsReply": "boolean",
      "ParentCommentPath": "string",
      "Done": "boolean"
    }
  ],
  "CommentCount": "integer (int32)"
}

Get comments from a Word DOCX document hierarchically

POST /convert/edit/docx/get-comments/hierarchical


Returns the comments and review annotations stored in the Word Document (DOCX) format file hierarchically, where reply comments are nested as children under top-level comments in the results returned.



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "Comments": [
    {
      "Path": "string",
      "Author": "string",
      "AuthorInitials": "string",
      "CommentText": "string",
      "CommentDate": "string (date-time)",
      "ReplyChildComments": [
        {
          "Path": "string",
          "Author": "string",
          "AuthorInitials": "string",
          "CommentText": "string",
          "CommentDate": "string (date-time)",
          "IsTopLevel": "boolean",
          "IsReply": "boolean",
          "ParentCommentPath": "string",
          "Done": "boolean"
        }
      ],
      "Done": "boolean"
    }
  ],
  "TopLevelCommentCount": "integer (int32)"
}

Remove all comments from a Word DOCX document

POST /convert/edit/docx/comments/remove-all


Removes all of the comments from a Word Document.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
"string (byte)"

Enable track changes, revisions in a Word DOCX document

POST /convert/edit/docx/track-changes/enable


Enables tracking of changes and revisions in a Word DOCX document. Users editing the document will see changes tracked automatically, with edits highlighted, and the ability to accept or reject changes made to the document.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
"string (byte)"

Disable track changes, revisions in a Word DOCX document

POST /convert/edit/docx/track-changes/disable


Diables tracking of changes and revisions in a Word DOCX document, and accepts any pending changes. Users editing the document will no longer see changes tracked automatically.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
"string (byte)"

Accept all tracked changes, revisions in a Word DOCX document

POST /convert/edit/docx/track-changes/accept-all


Accepts all tracked changes and revisions in a Word DOCX document. This will accept all pending changes in the document when tracked changes is turned on. Track changes will remain on (if it is on) after this oepration is completed.



inputFile: file
in formData

Input file to perform the operation on.

Code Example:
200 OK

OK

type
string (byte)
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
"string (byte)"

Insert a new comment into a Word DOCX document attached to a paragraph

POST /convert/edit/docx/insert-comment/on/paragraph


Adds a new comment into a Word DOCX document attached to a paragraph and returns the result. Call Finish Editing on the output URL to complete the operation.



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "ParagraphPath": "string",
  "CommentToInsert": {
    "Path": "string",
    "Author": "string",
    "AuthorInitials": "string",
    "CommentText": "string",
    "CommentDate": "string (date-time)",
    "IsTopLevel": "boolean",
    "IsReply": "boolean",
    "ParentCommentPath": "string",
    "Done": "boolean"
  }
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "EditedDocumentURL": "string"
}

Delete, remove pages from a Word DOCX document

POST /convert/edit/docx/delete-pages


Returns the edited Word Document in the Word Document (DOCX) format file with the specified pages removed



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "StartDeletePageNumber": "integer (int32)",
  "EndDeletePageNumber": "integer (int32)"
}
200 OK

OK

type
string (byte)
Response Content-Types: application/octet-stream
Response Example (200 OK)
"string (byte)"

Get content of a footer from a Word DOCX document

POST /convert/edit/docx/get-headers-and-footers


Returns the footer content from a Word Document (DOCX) format file



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "Headers": [
    {
      "Path": "string",
      "Paragraphs": [
        {
          "ParagraphIndex": "integer (int32)",
          "Path": "string",
          "ContentRuns": [
            {
              "RunIndex": "integer (int32)",
              "Path": "string",
              "TextItems": [
                {
                  "TextIndex": "integer (int32)",
                  "Path": "string",
                  "TextContent": "string"
                }
              ],
              "Bold": "boolean",
              "Italic": "boolean",
              "Underline": "string",
              "FontFamily": "string",
              "FontSize": "string"
            }
          ],
          "StyleID": "string"
        }
      ],
      "SectionsWithHeader": [
        {
          "StartingPageNumbers": [
            "integer (int32)"
          ],
          "Path": "string"
        }
      ]
    }
  ],
  "Footers": [
    {
      "Path": "string",
      "Paragraphs": [
        {
          "ParagraphIndex": "integer (int32)",
          "Path": "string",
          "ContentRuns": [
            {
              "RunIndex": "integer (int32)",
              "Path": "string",
              "TextItems": [
                {
                  "TextIndex": "integer (int32)",
                  "Path": "string",
                  "TextContent": "string"
                }
              ],
              "Bold": "boolean",
              "Italic": "boolean",
              "Underline": "string",
              "FontFamily": "string",
              "FontSize": "string"
            }
          ],
          "StyleID": "string"
        }
      ],
      "SectionsWithFooter": [
        {
          "StartingPageNumbers": [
            "integer (int32)"
          ],
          "Path": "string"
        }
      ]
    }
  ]
}

Set the header in a Word DOCX document

POST /convert/edit/docx/set-header


Set the header in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "HeaderToApply": {
    "Path": "string",
    "Paragraphs": [
      {
        "ParagraphIndex": "integer (int32)",
        "Path": "string",
        "ContentRuns": [
          {
            "RunIndex": "integer (int32)",
            "Path": "string",
            "TextItems": [
              {
                "TextIndex": "integer (int32)",
                "Path": "string",
                "TextContent": "string"
              }
            ],
            "Bold": "boolean",
            "Italic": "boolean",
            "Underline": "string",
            "FontFamily": "string",
            "FontSize": "string"
          }
        ],
        "StyleID": "string"
      }
    ],
    "SectionsWithHeader": [
      {
        "StartingPageNumbers": [
          "integer (int32)"
        ],
        "Path": "string"
      }
    ]
  }
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "EditedDocumentURL": "string"
}

Set the footer in a Word DOCX document

POST /convert/edit/docx/set-footer


Set the footer in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "FooterToApply": {
    "Path": "string",
    "Paragraphs": [
      {
        "ParagraphIndex": "integer (int32)",
        "Path": "string",
        "ContentRuns": [
          {
            "RunIndex": "integer (int32)",
            "Path": "string",
            "TextItems": [
              {
                "TextIndex": "integer (int32)",
                "Path": "string",
                "TextContent": "string"
              }
            ],
            "Bold": "boolean",
            "Italic": "boolean",
            "Underline": "string",
            "FontFamily": "string",
            "FontSize": "string"
          }
        ],
        "StyleID": "string"
      }
    ],
    "SectionsWithFooter": [
      {
        "StartingPageNumbers": [
          "integer (int32)"
        ],
        "Path": "string"
      }
    ]
  }
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "EditedDocumentURL": "string"
}

Add page number to footer in a Word DOCX document

POST /convert/edit/docx/set-footer/add-page-number


Set the footer in a Word Document (DOCX) to contain a page number. Call Finish Editing on the output URL to complete the operation.



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "PrependText": "string"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "EditedDocumentURL": "string"
}

Insert image into a Word DOCX document

POST /convert/edit/docx/insert-image


Set the footer in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputDocumentFileBytes": "string (byte)",
  "InputDocumentFileUrl": "string",
  "InputImageFileBytes": "string (byte)",
  "InputImageFileUrl": "string",
  "ImageToAdd": {
    "Path": "string",
    "ImageName": "string",
    "ImageId": "integer (int64)",
    "ImageDescription": "string",
    "ImageWidth": "integer (int64)",
    "ImageHeight": "integer (int64)",
    "XOffset": "integer (int64)",
    "YOffset": "integer (int64)",
    "ImageDataEmbedId": "string",
    "ImageDataContentType": "string",
    "ImageInternalFileName": "string",
    "ImageContentsURL": "string",
    "InlineWithText": "boolean"
  },
  "InsertPlacement": "string",
  "InsertPath": "string",
  "WidthInEMUs": "integer (int64)",
  "HeightInEMUs": "integer (int64)"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "EditedDocumentURL": "string"
}

Insert a new paragraph into a Word DOCX document

POST /convert/edit/docx/insert-paragraph


Adds a new paragraph into a DOCX and returns the result. You can insert at the beginning/end of a document, or before/after an existing object using its Path (location within the document). Call Finish Editing on the output URL to complete the operation.



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "ParagraphToInsert": {
    "ParagraphIndex": "integer (int32)",
    "Path": "string",
    "ContentRuns": [
      {
        "RunIndex": "integer (int32)",
        "Path": "string",
        "TextItems": [
          {
            "TextIndex": "integer (int32)",
            "Path": "string",
            "TextContent": "string"
          }
        ],
        "Bold": "boolean",
        "Italic": "boolean",
        "Underline": "string",
        "FontFamily": "string",
        "FontSize": "string"
      }
    ],
    "StyleID": "string"
  },
  "InsertPlacement": "string",
  "InsertPath": "string"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "EditedDocumentURL": "string"
}

Insert a new table into a Word DOCX document

POST /convert/edit/docx/insert-table


Adds a new table into a DOCX and returns the result. Call Finish Editing on the output URL to complete the operation.



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "TableToInsert": {
    "TableID": "string",
    "Path": "string",
    "Width": "string",
    "WidthType": "string",
    "TableRows": [
      {
        "RowIndex": "integer (int32)",
        "Path": "string",
        "RowCells": [
          {
            "CellIndex": "integer (int32)",
            "Path": "string",
            "Paragraphs": [
              {
                "ParagraphIndex": "integer (int32)",
                "Path": "string",
                "ContentRuns": [
                  {
                    "RunIndex": "integer (int32)",
                    "Path": "string",
                    "TextItems": [
                      {
                        "TextIndex": "integer (int32)",
                        "Path": "string",
                        "TextContent": "string"
                      }
                    ],
                    "Bold": "boolean",
                    "Italic": "boolean",
                    "Underline": "string",
                    "FontFamily": "string",
                    "FontSize": "string"
                  }
                ],
                "StyleID": "string"
              }
            ],
            "CellShadingColor": "string",
            "CellShadingFill": "string",
            "CellShadingPattern": "string",
            "CellWidthMode": "string",
            "CellWidth": "string"
          }
        ]
      }
    ],
    "TopBorderType": "string",
    "TopBorderSize": "integer (int32)",
    "TopBorderSpace": "integer (int32)",
    "TopBorderColor": "string",
    "BottomBorderType": "string",
    "BottomBorderSize": "integer (int32)",
    "BottomBorderSpace": "integer (int32)",
    "BottomBorderColor": "string",
    "LeftBorderType": "string",
    "LeftBorderSize": "integer (int32)",
    "LeftBorderSpace": "integer (int32)",
    "LeftBorderColor": "string",
    "RightBorderType": "string",
    "RightBorderSize": "integer (int32)",
    "RightBorderSpace": "integer (int32)",
    "RightBorderColor": "string",
    "CellHorizontalBorderType": "string",
    "CellHorizontalBorderSize": "integer (int32)",
    "CellHorizontalBorderSpace": "integer (int32)",
    "CellHorizontalBorderColor": "string",
    "CellVerticalBorderType": "string",
    "CellVerticalBorderSize": "integer (int32)",
    "CellVerticalBorderSpace": "integer (int32)",
    "CellVerticalBorderColor": "string",
    "StartBorderType": "string",
    "StartBorderSize": "integer (int32)",
    "StartBorderSpace": "integer (int32)",
    "StartBorderColor": "string",
    "EndBorderType": "string",
    "EndBorderSize": "integer (int32)",
    "EndBorderSpace": "integer (int32)",
    "EndBorderColor": "string",
    "TableIndentationMode": "string",
    "TableIndentationWidth": "integer (int32)"
  },
  "InsertPlacement": "string",
  "InsertPath": "string"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "EditedDocumentURL": "string"
}

Gets the contents of an existing table row in an existing table in a Word DOCX document

POST /convert/edit/docx/get-table-row


Gets the contents of an existing table row in a Word DOCX Document and returns the result.



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "TablePath": "string",
  "TableRowRowIndex": "integer (int32)"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "RowResult": {
    "RowIndex": "integer (int32)",
    "Path": "string",
    "RowCells": [
      {
        "CellIndex": "integer (int32)",
        "Path": "string",
        "Paragraphs": [
          {
            "ParagraphIndex": "integer (int32)",
            "Path": "string",
            "ContentRuns": [
              {
                "RunIndex": "integer (int32)",
                "Path": "string",
                "TextItems": [
                  {
                    "TextIndex": "integer (int32)",
                    "Path": "string",
                    "TextContent": "string"
                  }
                ],
                "Bold": "boolean",
                "Italic": "boolean",
                "Underline": "string",
                "FontFamily": "string",
                "FontSize": "string"
              }
            ],
            "StyleID": "string"
          }
        ],
        "CellShadingColor": "string",
        "CellShadingFill": "string",
        "CellShadingPattern": "string",
        "CellWidthMode": "string",
        "CellWidth": "string"
      }
    ]
  }
}

Deletes a table row in an existing table in a Word DOCX document

POST /convert/edit/docx/delete-table-row


Deletes an existing table row in a Word DOCX Document and returns the result.



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "TablePath": "string",
  "TableRowRowIndex": "integer (int32)"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "EditedDocumentURL": "string"
}

Deletes a range of multiple table rows in an existing table in a Word DOCX document

POST /convert/edit/docx/delete-table-row/range


Deletes a range of 1 or more existing table rows in a Word DOCX Document and returns the result.



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "TablePath": "string",
  "TableRowRowIndexStart": "integer (int32)",
  "TableRowRowIndexEnd": "integer (int32)"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "EditedDocumentURL": "string"
}

Insert a new row into an existing table in a Word DOCX document

POST /convert/edit/docx/insert-table-row


Adds a new table row into a DOCX Document and returns the result. Call Finish Editing on the output URL to complete the operation.



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "RowToInsert": {
    "RowIndex": "integer (int32)",
    "Path": "string",
    "RowCells": [
      {
        "CellIndex": "integer (int32)",
        "Path": "string",
        "Paragraphs": [
          {
            "ParagraphIndex": "integer (int32)",
            "Path": "string",
            "ContentRuns": [
              {
                "RunIndex": "integer (int32)",
                "Path": "string",
                "TextItems": [
                  {
                    "TextIndex": "integer (int32)",
                    "Path": "string",
                    "TextContent": "string"
                  }
                ],
                "Bold": "boolean",
                "Italic": "boolean",
                "Underline": "string",
                "FontFamily": "string",
                "FontSize": "string"
              }
            ],
            "StyleID": "string"
          }
        ],
        "CellShadingColor": "string",
        "CellShadingFill": "string",
        "CellShadingPattern": "string",
        "CellWidthMode": "string",
        "CellWidth": "string"
      }
    ]
  },
  "InsertPlacement": "string",
  "ExistingTablePath": "string"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "EditedDocumentURL": "string"
}

Update, set contents of a table row in an existing table in a Word DOCX document

POST /convert/edit/docx/update-table-row


Sets the contents of a table row into a DOCX Document and returns the result. Call Finish Editing on the output URL to complete the operation.



Document input request

Code Example:
Request Content-Types: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
Request Example
{
  "InputFileBytes": "string (byte)",
  "InputFileUrl": "string",
  "RowToUpdate": {
    "RowIndex": "integer (int32)",
    "Path": "string",
    "RowCells": [
      {
        "CellIndex": "integer (int32)",
        "Path": "string",
        "Paragraphs": [
          {
            "ParagraphIndex": "integer (int32)",
            "Path": "string",
            "ContentRuns": [
              {
                "RunIndex": "integer (int32)",
                "Path": "string",
                "TextItems": [
                  {
                    "TextIndex": "integer (int32)",
                    "Path": "string",
                    "TextContent": "string"
                  }
                ],
                "Bold": "boolean",
                "Italic": "boolean",
                "Underline": "string",
                "FontFamily": "string",
                "FontSize": "string"
              }
            ],
            "StyleID": "string"
          }
        ],
        "CellShadingColor": "string",
        "CellShadingFill": "string",
        "CellShadingPattern": "string",
        "CellWidthMode": "string",
        "CellWidth": "string"
      }
    ]
  },
  "TableRowIndex": "integer (int32)",
  "ExistingTablePath": "string"
}
Response Content-Types: application/json, text/json, application/xml, text/xml
Response Example (200 OK)
{
  "Successful": "boolean",
  "EditedDocumentURL": "string"
}

Update, set contents of a table cell in an existing table in a Word DOCX document

POST /convert/edit/docx/update-table-cell