Skip to content

Quickstart

Convert your first file in 5 minutes.

1. Get a token

bash curl -X POST https://indox.org/auth/api/v1/login/ \ -H "Content-Type: application/json" \ -d '{"email":"[email protected]","password":"…"}'

Response:

json { "external_token": "eyJ…", "refresh_token": "…" }

Use external_token as a Bearer token on every subsequent request.

2. Start a conversion

bash curl -X POST https://indox.org/docs/api/v1/convert/ \ -H "Authorization: Bearer eyJ…" \ -F "[email protected]" \ -F "target_format=pdf"

Response (202 Accepted):

json { "conversion_id": "8f3c…", "status": "pending" }

3. Poll status

bash curl https://indox.org/docs/api/v1/conversion/8f3c…/ \ -H "Authorization: Bearer eyJ…"

Until status is completed (or failed).

4. Download

bash curl -L https://indox.org/docs/api/v1/8f3c…/download/ \ -H "Authorization: Bearer eyJ…" \ -o report.pdf

That's it. See Concepts for what each piece does, and Limits for free-tier and paid quotas.