API Reference
API Reference
Base URL, authentication, request format, versioning and idempotency.
A small JSON-over-HTTPS API. 9 endpoints, bearer-token auth, predictable errors, and results that say what they did: every rewrite carries a flat summary of its headline numbers, and every field is described on its endpoint page.
Base URL
https://api.intactvoice.com/v1All requests use HTTPS. Request and response bodies are JSON (Content-Type: application/json), encoded as UTF-8.
Authentication
Send Authorization: Bearer sk_live_… (or sk_test_…) on every request. See Authentication.
Endpoints
Versioning
The URL is versioned (/v1) and will only change for breaking changes; new response fields are added without a version change, so ignore fields you don't know. Models are versioned separately and reported in the model field of every rewrite and detection, for example "model": "rewrite-2026-10".
Model changes are listed in the changelog. There is no way to pin an older model yet, and rewrites are not byte-stable between runs.
Useful headers
| Header | Direction | Purpose |
|---|---|---|
Idempotency-Key | Request | Makes POST retries safe for 24 hours (up to 200 characters). A replay answers from the original job, and no response text is stored. While the first request is still being processed, a replay gets 409 idempotency_conflict with Retry-After: 5. |
X-Request-Id | Response | Unique id for this request (req_…). Errors repeat it as error.request_id. Quote it to support. |
X-Job-Id | Response | The job a request created or replayed (job_…), including POST /voices. |
Idempotent-Replayed | Response | true when the response is a replay of an earlier request with the same Idempotency-Key. |
X-RateLimit-* | Response | See Rate limits. |