Converter API documentation

Every conversion request call must be authenticated with username and password as header parameter, or set secret as query parameter . More detailed authentication methods covered in Basic access authentication. All supported file format conversions are provided here.

Conversion using just URL

When files or web pages are accessible from the Internet it is enough to open a link to convert them. Replace XXX with your secret in example links.

Conversion http://example.com to PDF example
Request:
https://www.ms-invent.com/api/1.1/convert-to-pdf?secret=XXX&url=http%3A%2F%2Fexample.com/test.doc
Response:
PDF file contents displayed in a browser

Conversion using POST

DOC conversion to PDF using POST

Notice: every conversion request call must be authenticated with username and password as header parameter.

Request:
POST https://www.ms-invent.com/api/1.1/convert-to-pdf
Response (JSON):
{
    "status": true,
    "converted": {
        "data": "DQo8aDMgY2xhc3M9Indlc3Rlcm4iPjxmb250IGZhY2U9IiYjMjM0MzU7JiMyMDMwNzsiPjxzcGFuIGxhbmc9Inp......",
        "fileKey": "3b1b1d62-3a9b-4ab8-bfae-303452ef1202",
        "fileName": "demo.doc",
        "fileSize": "98 KB",
        "fileType": "pdf",
        "createDate": "2018-10-06T07:31:33.7120746Z"
    }
}