Developer API
Integrate file conversion into your product.
Simple REST API with upload, convert, and download endpoints. Get your API key in seconds.
Get API keyYour API Key
Use this key in the Authorization header for all requests. Keep it secret.
POST
/api/uploadUpload a file for conversion. Returns a file ID and detected format.
Request
POST /api/upload
Content-Type: multipart/form-data
Authorization: Bearer YOUR_API_KEY
file: photo.pngResponse 200 OK
{
"file_id": "12345",
"filename": "photo.png",
"format": "png",
"size": 2457600
}POST
/api/convertStart a conversion job. Returns a job ID for status polling.
Request
POST /api/convert
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY
{
"file_id": "12345",
"target_format": "jpg",
"quality": "screen"
}Response 202 Accepted
{
"job_id": "98765",
"status": "queued"
}GET
/api/status/:job_idCheck conversion progress. Poll until status is "completed".
Request
GET /api/status/98765
Authorization: Bearer YOUR_API_KEYResponse 200 OK
{
"job_id": "98765",
"status": "completed",
"progress": 100,
"download_url": "/api/download/98765"
}GET
/api/download/:job_idDownload the converted file. Returns the binary file with appropriate Content-Type header.
Request
GET /api/download/98765
Authorization: Bearer YOUR_API_KEYResponse 200 OK
Content-Type: image/jpeg
Content-Disposition: attachment;
filename="photo_converted.jpg"
[binary data]Authentication
All API requests require a Bearer token in the Authorization header. Get your API key from your account dashboard.
Authorization: Bearer YOUR_API_KEYRate Limits
| Plan | Requests/month | Max file size | Concurrent jobs |
|---|---|---|---|
| Pro | 1,000 | 500 MB | 5 |
| Enterprise | Unlimited | No limit | 50 |
Error Codes
| Code | Meaning |
|---|---|
400 | Bad request — missing or invalid parameters |
401 | Unauthorized — invalid or missing API key |
413 | File too large — exceeds plan limit |
422 | Unsupported format combination |
429 | Rate limit exceeded |
500 | Server error — conversion failed |