API v1 is deprecated and will be turned off on January 1, 2022. Check out the API v2 documentation.

The task: Converting this vector SVG-sheep to PNG, sized 600x600.

This task can be easily changed to any other file conversion and shows you the workflow of the CloudConvert API in overview.

1. Getting the Process URL

As always, we need a Process URL first. Therefore we need our personal API Key. Click "Execute" to request the Process URL.

POST https://api.cloudconvert.com/v1/process

2. Starting the Process

Using the obtained Process URL, the process is started using the following request. We set wait to true to block the request until the conversion is finished. We set the converter option resize to set the output resolution of the PNG file. All possible converter options can be identified with the Conversion types API or the API console.

POST https://...cloudconvert.com/process/...


3. Download the output file

The PNG will be available at output.url.