API Reference

Convert your files into clean, safe HTML text. We support the most common document formats (Word, PowerPoint, Excel, and OpenOffice formats).
Since the conversion is a time-intensive process you should provide a webhook url where to receive the converted document in HTML format.

Log in to see full request history

The response from the conversion will be formatted like this:

{ "message": "File has been converted and the webhook should be called with its data..." }

while the asynchronous result of the conversion on the webhook will be like this:

{ "status": str, "converted_document": str }

"converted_document" will contain your HTML converted document.

The following are the parameters to be set, for more details check the guide

Query Params
string
required

The URL where the conversion result will be sent. The request will be in JSON format

string
required

Defines the management of images inside your document. To better understand how this parameter works check the guide

string

Webhook where to receive image files

Body Params
file
required

The file to be converted

Headers
string

Your 32 characters API Key token. If you don't have one yet, register at api.pigro.ai to receive it

Responses

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json