REST API DOCUMENTATION BY ABTECH SOLUTION

FileForge REST API

Integrate sub-second image conversion, canvas editing, and PDF compression directly into your apps.

POST/api/convert/image

Converts an input image file to target format (JPG, PNG, WebP, GIF, BMP, TIFF).

curl -X POST "https://fileforge-backend.onrender.com/api/convert/image" \
  -F "file=@photo.png" \
  -F "target_format=webp" \
  -F "quality=85"
POST/api/resize/dimensions

Resizes pixel dimensions. Either width or height can be left blank for proportional aspect ratio scaling.

curl -X POST "https://fileforge-backend.onrender.com/api/resize/dimensions" \
  -F "file=@banner.jpg" \
  -F "width=1920" \
  -F "output_format=jpg"
DELETE/api/file/{job_id}

Immediately purges input and output files from server storage.