curl -X POST "https://app.drime.cloud/api/v1/entry/convert?workspaceId=0" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "url": "https://storage.example.com/file.jpeg", "filename": "photo.jpeg", "outputformat": "png" }'
{ "status": "success", "fileEntry": { "id": 123456, "name": "photo.png", "type": "image", "mime": "image/png" } }
Convert a file to a different format
png
pdf
jpg