Base URL
https://exact.works/api/v1Authentication
All API requests require authentication via API key or Bearer token.
API Key Header
X-API-Key: your_api_key_hereBearer Token
Authorization: Bearer your_token_hereAPI keys are available in your dashboard settings.
Error Codes
| Code | HTTP | Description |
|---|---|---|
| INVALID_API_KEY | 401 | API key is missing or invalid |
| PAPER_NOT_FOUND | 404 | Paper ID does not exist |
| COMPILATION_FAILED | 422 | Paper failed to exact (see error details) |
| PROHIBITED_CATEGORY | 422 | Service category is prohibited |
| FIDELITY_MISMATCH | 422 | Prose does not match manifest values |
| INVALID_STATE | 409 | Action not allowed in current Paper state |
| RATE_LIMITED | 429 | Too many requests. Retry after backoff. |
Rate Limits
- Standard: 100 requests/minute
- Exacting: 10 papers/minute
- Webhooks: 1000 events/hour
Enterprise plans include higher limits. Contact [email protected].
SDKs
Node.js / TypeScript
npm install @exact-works/sdk
Python
pip install exact-works