Convert content between formats
POST
https://api.cloudharness.com
/v1/convert
Converts content from one format to another (e.g., markdown↔HTML, GIF→PDF).
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Request Body
sourceFormatstring · requiredInput format (e.g., markdown, html, gif, pdf)
targetFormatstring · requiredOutput format (e.g., html, markdown, pdf, png)
filestring · binaryOptional file input. If omitted, provide
textinstead.textstringOptional text input. If omitted, provide
fileinstead.
Responses
OK
successboolean · requiredmetadataobject · requiredstatusstring · requiredDescriptive status message
dataobject