API reference

API error codes

Every failed response uses a stable envelope with error.code, error.message, error.docs_url, and meta.request_id.

CodeHTTPMessageRetry
invalid_request400The request payload or query parameters are invalid.No
invalid_api_key401The API key is missing, invalid, or expired.No
missing_scope403The API key does not include the required scope.No
not_found404The requested resource was not found.No
conflict409The request conflicts with the current resource state.No
rate_limited429The request exceeded the configured rate limit.Yes
idempotency_conflict409The idempotency key was already used with a different request.No
webhook_signature_invalid401The webhook signature is missing, expired, or invalid.No
internal_error500An unexpected server error occurred.Yes

Deep links use the stable form https://docs.statxe.com/api/errors/invalid_request.