API Documentation
This frontend documents the agreed asynchronous job pattern. The executable API endpoints will be added with the backend layer.
Authentication
Authorization: Bearer rw_live_xxxxxxxxxxxxxxxxx
Create Job
POST /api/v1/jobs/create.php
Content-Type: multipart/form-data
tool=smart_compress
files[]=@document.pdf
mode=balanced
Example response
{
"success": true,
"job_id": "job_84729",
"status": "queued"
}
Check Status
GET /api/v1/jobs/status.php?id=job_84729
Offline behavior
If the processing backend is unavailable, the API can return a structured 503 error or later use the backend queue mode once that layer is installed.
Base URL
https://www.gotool.in/api/v1