Articles on: Documentation

Response Content Types

Response Content Types

Response headers and body contain this information:

ConversionTime - time in seconds that took to convert the file. This amount of seconds will be deducted from your balance after the conversion.
FileName - name of the converted file.
FileSize - converted file size in bytes.
FileData - converted file content.
FileUrl - link to a converted file if StoreFile parameter was set to true.


Single file result example

    "ConversionTime": 2,
    "Files": [
            "FileName": "my_file.pdf",
            "FileSize": 523672,
            "FileData": "--Base64 encoded file content--"


Each part contains converted file data or URL to the file.

Single file result example

ConversionTime: 3
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="my_file.pdf"; size=8475



The response body is a result of converted file content. The filename can be found in content-disposition header field. It can be used with converters that produce a single file result.

Updated on: 22/02/2024

Was this article helpful?

Share your feedback


Thank you!