Document processing API
Upload one PDF or DOCX to translate it or redact personal information. The API is free for three accepted jobs per tool, per IP address, every 24 hours.
1. Submit a document
Choose translate or anonymize. Save the job_token from the 202 response to check and download that job.
curl -F 'file=@letter.docx' -F 'target_language=fr' 'https://developers.actaoffice.com/v1/translate?region=eu' curl -F 'file=@letter.pdf' 'https://developers.actaoffice.com/v1/anonymize'
2. Check the job
Poll status_url until the job is ready or failed. A ready job returns download_url and expires_at.
curl -H "Authorization: Bearer $JOB_TOKEN" "https://developers.actaoffice.com/v1/jobs/$JOB_ID"
3. Download the result
The download stays in the original file format and is available for 24 hours.
curl -OJ -H "Authorization: Bearer $JOB_TOKEN" "https://developers.actaoffice.com$DOWNLOAD_URL"
Limits and errors
Files can be up to 10 MB and 50,000 characters. PDFs can have up to 20 pages.
Target languages are fr, en, nl, de, ar, es, it, pt, pl, ro, tr and ru. Files are stored in the EU by default. A US request returns region_unavailable until US processing opens.
Errors return a JSON object with a code. A 429 quota_exceeded response means a free limit was reached. Treat the job token like a password.