Skip to Content
API referenceAll endpoints

All endpoints

Base URL: https://indox.org, every path below is absolute from it and already carries its /api/v1/ prefix. Running your own instance? Substitute your host; the paths are identical.

Authentication

Authorization: Bearer <api_key>

The Auth column in every table below says whether a request needs that header:

ValueMeaning
BearerThe endpoint returns 401/403 without a token.
**, **The endpoint is reachable without a token. Anonymous requests are served within the free quota; sending a token attributes the job to your account and applies your plan’s limits instead.

Browser clients authenticated by session cookie may send the cookie instead of the header, the backend accepts either. See Concepts for the full auth model.

Async conversion flow

Conversions do not block. Every convert endpoint returns 202 { "conversion_id": ... }; you then poll the matching status endpoint for that media family and download when it reaches a terminal state.

Media familySubmitPoll statusDownload
Documents / PDFPOST /api/v1/pdf_handler/convert/GET /api/v1/docs_core/conversion/{conversion_id}/GET /api/v1/pdf_handler/{conversion_id}/download/
FontsPOST /api/v1/fonts/convert/GET /api/v1/fonts/conversion/{conversion_id}/GET /api/v1/fonts/{conversion_id}/download/
Images / video / 3DPOST /api/v1/convert/{image|video|model}/convert/GET /api/v1/media_core/conversion/{conversion_id}/GET /api/v1/media_core/files/{conversion_id}/download/

GET /api/v1/docs_core/conversion/wait/{conversion_id}/ and GET /api/v1/media_core/conversion/wait/{conversion_id}/ long-poll instead of returning immediately, if you would rather not implement a poll loop.

DELETE /api/v1/conversion/{conversion_id}/ removes a conversion of any media family: the converted output and the original upload are deleted from storage and the item leaves your history. 204 on success, 404 when the id is unknown or not yours.


Health

MethodPathAuthDescription
GET/api/v1/health/β€”Health probe, DB, cache, storage, Celery broker

Documents

Document and PDF conversion. Job status, credits and batching for this family live under /api/v1/docs_core/ below.

MethodPathAuthDescription
GET/api/v1/pdf_handler/formats/β€”Supported document types
GET/api/v1/pdf_handler/operations/β€”Operations available for a from/to pair
POST/api/v1/pdf_handler/convert/β€”Convert a document (multipart)
POST/api/v1/pdf_handler/convert/json/β€”Convert a document (JSON body)
POST/api/v1/pdf_handler/form-fields/β€”List the fillable form fields in a PDF
POST/api/v1/pdf_handler/save/β€”Save an edited PDF and deliver it to a destination
GET/api/v1/pdf_handler/history/β€”List conversion history
GET/api/v1/pdf_handler/conversion/{conversion_id}/β€”Get conversion status
GET/api/v1/pdf_handler/{conversion_id}/download/β€”Download the converted file

Document jobs, status, credits, batching

MethodPathAuthDescription
GET/api/v1/docs_core/conversion/{conversion_id}/β€”Conversion info
GET/api/v1/docs_core/conversion/wait/{conversion_id}/β€”Long-poll until the conversion settles
POST/api/v1/docs_core/batch/collect/β€”Collect several conversions into one ZIP
GET/api/v1/docs_core/batch/{batch_id}/download/β€”Download the batch ZIP
GET/api/v1/docs_core/credits/β€”Remaining credits
POST/api/v1/docs_core/visibility/hide/β€”Hide items from history

PDF pipelines

Saved, replayable sequences of PDF operations.

MethodPathAuthDescription
GET/api/v1/pdf_handler/pipeline/BearerList saved pipelines
POST/api/v1/pdf_handler/pipeline/BearerCreate a saved pipeline
GET/api/v1/pdf_handler/pipeline/{pipeline_id}/BearerGet a saved pipeline
DELETE/api/v1/pdf_handler/pipeline/{pipeline_id}/BearerDelete a saved pipeline
POST/api/v1/pdf_handler/pipeline/{pipeline_id}/run/BearerRun a saved pipeline on a PDF

Phone scan

Pair a phone to a desktop session, capture pages, assemble them into a PDF.

MethodPathAuthDescription
POST/api/v1/pdf_handler/scan/sessions/BearerOpen a phone-scan session
GET/api/v1/pdf_handler/scan/sessions/{session_id}/BearerPoll a phone-scan session
POST/api/v1/pdf_handler/scan/sessions/{session_id}/finalize/BearerQueue assembly of the captured pages into a PDF
GET/api/v1/pdf_handler/scan/pair/BearerPhone: read a paired scan session
POST/api/v1/pdf_handler/scan/pair/pages/β€”Phone: upload a captured page
DELETE/api/v1/pdf_handler/scan/pair/pages/{page_id}/BearerPhone: discard a captured page

E-signing

The session owner authenticates; each participant acts through a per-recipient {token}, so the participant routes take no bearer token. The invitation email links to the web signer page at https://indox.org/sign/{token}, which calls the participant routes below.

MethodPathAuthDescription
POST/api/v1/pdf_handler/signing/sessions/BearerCreate a multi-party signing session
GET/api/v1/pdf_handler/signing/sessions/{session_id}/BearerGet a signing session
POST/api/v1/pdf_handler/signing/sessions/{session_id}/participants/{participant_id}/resend/BearerRe-send an invitation under a new link
GET/api/v1/pdf_handler/signing/sign/{token}/β€”Participant: view a document to sign
POST/api/v1/pdf_handler/signing/sign/{token}/otp/β€”Participant: email a one-time signing code
POST/api/v1/pdf_handler/signing/sign/{token}/β€”Participant: sign with the emailed code
POST/api/v1/pdf_handler/signing/sign/{token}/decline/β€”Participant: decline

Signing flow. GET sign/{token}/ returns {"title", "your_status", "session_status", "document_url"}. POST sign/{token}/otp/ emails a six-digit code to the invited address and answers 202 {"otp_sent": true, "expires_in": <seconds>}; a new code replaces the previous one. POST sign/{token}/ takes the JSON body {"otp": "123456"} (a request without otp is 422) and answers 200 {"your_status": "signed", "session_status": ...}. Once every participant has signed, the session becomes completed and the owner’s GET sessions/{session_id}/ carries a signed_url.

Expiry. A link stops working a fixed number of days after it was sent, and every participant route then answers 410 {"error": "link_expired"}. Once no pending participant holds a live link, a scheduled sweep marks the session and its pending participants expired. Session status is one of pending, completed, declined, expired; participant status is one of pending, signed, declined, expired.

Resend. The resend route emails a new link and the old one stops resolving at once. It also restarts the link’s lifetime from now, returns an expired participant to pending (and its session, if the sweep expired it), clears that participant’s failed-code count and lock, and voids any outstanding code. A participant who already signed or declined cannot be re-sent (409). Each resend counts toward the owner’s daily invitation limit.

Errors. Every signing error is {"error": "<code>"}, plus the extra field noted below.

CodeStatusRouteMeaning
pdf_handler.signing_too_many_participants400create sessionMore recipients than one session allows; body adds limit
pdf_handler.signing_daily_invite_limit429create session, resendThe owner sent the daily maximum of invitations in the last 24 hours; body adds limit
pdf_handler.signing_otp_daily_limit429sign/{token}/otp/This participant was sent the daily maximum of codes in the last 24 hours; body adds limit
pdf_handler.signing_otp_required400sign/{token}/No code was requested, or the last one expired: request a new code
pdf_handler.signing_otp_invalid400sign/{token}/Wrong code; body adds attempts_left
pdf_handler.signing_otp_exhausted429sign/{token}/Too many wrong entries for this code: request a new code
pdf_handler.signing_otp_locked403sign/{token}/, sign/{token}/otp/Too many wrong entries across all codes; locked until the owner resends the invitation
link_expired410every participant routeThe link is past its lifetime, or the participant or session is expired
not_found404every signing routeUnknown or replaced link, or a session or participant that is not yours
session is not open409participant routes, resendThe session is completed or declined
participant already responded409participant routes, resendThe participant already signed or declined

Fonts

MethodPathAuthDescription
GET/api/v1/fonts/formats/β€”List font formats
GET/api/v1/fonts/formats/{input_format}/β€”Output formats available for an input format
POST/api/v1/fonts/upload/β€”Upload a font to object storage
POST/api/v1/fonts/convert/β€”Convert an uploaded font by key
POST/api/v1/fonts/validate/β€”Validate a conversion before running it
POST/api/v1/fonts/inspect/β€”Inspect an uploaded font file
GET/api/v1/fonts/inspect/β€”Inspect a stored font by key
GET/api/v1/fonts/conversion/{conversion_id}/β€”Get font conversion info
GET/api/v1/fonts/{conversion_id}/download/β€”Download the converted font
GET/api/v1/fonts/{conversion_id}/download/{filename}β€”Download the converted font under a chosen filename
GET/api/v1/fonts/quota/β€”Remaining font quota
GET/api/v1/fonts/health/β€”Font service health

Images, video and 3D models

Three media families share one path shape. Job status, downloads and credits for all three go through /api/v1/media_core/ below.

MethodPathAuthDescription
GET/api/v1/convert/image/formats/β€”List image formats
GET/api/v1/convert/image/operations/β€”List image operations
POST/api/v1/convert/image/convert/β€”Convert an image
GET/api/v1/convert/image/conversion/{conversion_id}/β€”Retrieve image conversion info
GET/api/v1/convert/image/history/BearerList image conversion history
GET/api/v1/convert/video/formats/β€”List video formats
POST/api/v1/convert/video/convert/β€”Convert a video
GET/api/v1/convert/model/formats/β€”List 3D model formats
GET/api/v1/convert/model/operations/β€”List 3D model operations
POST/api/v1/convert/model/convert/β€”Convert a 3D model
GET/api/v1/convert/model/conversion/{conversion_id}/β€”Retrieve 3D model conversion info

Video conversions have no dedicated status route, poll GET /api/v1/media_core/conversion/{conversion_id}/.

Media jobs, status, downloads, credits

MethodPathAuthDescription
GET/api/v1/media_core/conversion/{conversion_id}/β€”Unified download link for a media conversion
GET/api/v1/media_core/conversion/wait/{conversion_id}/β€”Long-poll until the conversion or batch settles
GET/api/v1/media_core/files/{conversion_id}/download/β€”Download the converted media file
POST/api/v1/media_core/batch/collect/BearerCollect several items into one ZIP
GET/api/v1/media_core/batch/{batch_id}/download/β€”Download the batch ZIP
GET/api/v1/media_core/credits/β€”Remaining credits
POST/api/v1/media_core/visibility/hide/β€”Hide items from history
GET/api/v1/media_core/health/β€”Media service health

User

MethodPathAuthDescription
POST/api/v1/user/auth/login/β€”Log in with username/email + password, Google OAuth or Apple Sign-In
POST/api/v1/user/auth/logout/β€”Log out
GET/api/v1/user/me/BearerCurrent user profile
PATCH/api/v1/user/me/BearerUpdate the current user profile
GET/api/v1/user/usage/BearerAssigned pricing plans
GET/api/v1/user/usage/summary/BearerUsage summary
GET/api/v1/user/usage/trend/BearerConversion trend over time
GET/api/v1/user/usage/recent-conversions/BearerRecent conversions
GET/api/v1/user/usage/conversions/{conversion_id}/BearerDetailed conversion record

Storage

Files the account owns, uploads and conversion outputs alike.

MethodPathAuthDescription
GET/api/v1/user/storage/files/BearerList user-managed files
POST/api/v1/user/storage/files/upload/BearerUpload a new file to the account’s storage
POST/api/v1/user/storage/files/register/BearerRegister an existing object as a user-managed file
POST/api/v1/user/storage/files/download/BearerGenerate download URLs for stored files
POST/api/v1/user/storage/files/download/zip/BearerDownload stored files as a ZIP archive
POST/api/v1/user/storage/files/delete/BearerDelete stored files and reclaim storage

Shares

MethodPathAuthDescription
GET/api/v1/user/shares/BearerList the caller’s share links
POST/api/v1/user/shares/BearerCreate a share link for a file the caller owns
DELETE/api/v1/user/shares/{link_id}/BearerRevoke a share link
GET/api/v1/user/shares/public/{token}/β€”Public share metadata, never returns the file itself
POST/api/v1/user/shares/public/{token}/download/β€”Redeem a share link for a download URL

Billing

MethodPathAuthDescription
GET/api/v1/subscription/pricing_plan/β€”Structured pricing plans
GET/api/v1/subscription/rate_card/β€”Per-operation credit prices
GET/api/v1/subscription/credits/balance/BearerCredit balance
POST/api/v1/subscription/credits/promo-code/BearerRedeem a promo code for credits
GET/api/v1/subscription/purchase_history/BearerPurchase history
POST/api/v1/subscription/purchase_initiate/BearerStart a subscription purchase
POST/api/v1/subscription/purchase_initiate/pay-as-you-go/BearerStart a pay-as-you-go purchase
GET/api/v1/subscription/purchase_initiate/callback/β€”Stripe checkout return callback
POST/api/v1/subscription/storage/initiate/BearerStart a Stripe checkout for storage add-ons
GET/api/v1/subscription/storage/callback/β€”Stripe storage checkout return callback
POST/api/v1/subscription/tasks/task-completion/BearerReport task completion and deduct credits
GET/api/v1/subscription/tasks/task-history/BearerRecent task completion history

The two callback/ routes are Stripe redirect targets, not endpoints you call directly.

Webhooks

MethodPathAuthDescription
GET/api/v1/webhooks/BearerList the account’s webhooks
POST/api/v1/webhooks/BearerCreate a webhook, the raw secret is returned exactly once
GET/api/v1/webhooks/{webhook_id}/BearerGet one webhook
PATCH/api/v1/webhooks/{webhook_id}/BearerUpdate url / events / is_active / description
DELETE/api/v1/webhooks/{webhook_id}/BearerDelete a webhook and its delivery history
GET/api/v1/webhooks/{webhook_id}/deliveries/BearerRecent delivery attempts, newest first
POST/api/v1/webhooks/{webhook_id}/test/BearerEnqueue a test delivery

Notes

  • Send the trailing slash. Every path above ends in / except /api/v1/fonts/{conversion_id}/download/{filename}. Omitting it makes a GET cost an extra 301 round trip, and a POST without the slash fails, send the exact path.
  • Legacy aliases. The image, video and 3D routes are also served under /api/v1/image_converter/, /api/v1/video_converter/ and /api/v1/model/. Those are legacy prefixes kept for older clients, use the /api/v1/convert/{image|video|model}/ forms above in new code.
  • Not listed here: internal, admin and self-test routes are outside the public surface and are not part of the API contract. This page covers the 104 public operations only.
  • Machine-readable schema. The same surface is published as OpenAPI at /api/v1/openapi.json on any running instance; the official SDKs are generated from it.