API Documentation

Integrate file conversion into your applications.

POST /api/convert

Convert a file to a specific format.

Parameters

Example Request

curl -X POST https://zfile.cloud/api/convert \
  -F "file=@document.docx" \
  -F "format=pdf"

Response

{
  "status": "success",
  "downloadUrl": "https://zfile.cloud/downloads/converted_file.pdf"
}

GET /api/formats

Get a list of all supported input and output formats.

Response

{
  "images": ["jpg", "png", "webp", "gif"],
  "documents": ["pdf", "docx", "txt", "html"],
  "limit": "1GB"
}

🔑 Get API Access

To use our API in production, you need an API Key. Sign up for a Pro account to generate your key.

View Pricing