API reference
Every ReWords.AI API endpoint — OCR, edits, results, account — with parameters, responses and examples, plus the OpenAPI 3.1 file for generating a client.
Base URL https://api.rewords.ai/v1. Every request needs Authorization: Bearer rw_live_...
(see Authentication).
POST /ocr
Find every line of text and its position.
POST /edits
Submit the replacements; returns a job id.
GET /edits/{id}
Job status and the result links.
GET /account
Balances, pack expiry dates and limits.
Webhook: edit completed
What we POST to your callback_url.
OpenAPI file
Download openapi.yaml (OpenAPI 3.1) to generate a client or import the API into Postman, Insomnia or similar tools.
Questions fréquentes
Réponses aux questions courantes sur l’API ReWords.AI — ce que l’OCR sait lire, polices et textes plus longs, supprimer du texte, A ou B, nouvelles tentatives, facturation, usage côté front-end, SDK et comment obtenir de l’aide.
Find text in an image POST
Returns every line of text with its position. Costs 1 OCR call (the same image file within 24 hours is counted once). Every call returns a new `image_id`, which can be reused in `POST /edits` for 24 hours.