Errors
Standard HTTP status codes and JSON error bodies.
Errors return `{ "error": "message" }` unless noted. Retry 429 and 5xx with exponential backoff.
401 Unauthorized
Missing Bearer token, invalid key, revoked key, or siteId mismatch
404 Not Found
Slug not found (wrong siteId returns 401, not 404)
429 Too Many Requests
Daily API quota exceeded. Check X-RateLimit-Remaining and Retry-After (seconds until UTC midnight reset)
400 Bad Request
Invalid query on GET /posts (page, pageSize, status, language, updatedAfter, search) or webhook test without a configured URL
500 Internal Server Error
Unexpected failure. Contact support with timestamp and siteId
Validation and auth errors use the same JSON shape for predictable client handling.