API Docs

Core public endpoints for automation and integrations.

POST /api/html-to-image

Queue a render job from URL or HTML and receive job status URL.

curl -X POST "https://tool.pagee.io.vn/api/html-to-image" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com","type":"png","width":1200,"height":630}'

GET /api/job-status/{jobId}

Poll render progress and retrieve download URL once completed.

POST /api/json-to-table

Transform JSON input into an HTML table payload.

curl -X POST "https://tool.pagee.io.vn/api/json-to-table" \
  -H "Content-Type: application/json" \
  -d '{"json":"[{\"name\":\"Alice\",\"role\":\"Dev\"}]","flatten":true}'