Errors
Responses use a consistent body:
{
"name": "unauthorized",
"message": "Invalid API token",
"statusCode": 401
}
name | Typical status | When |
|---|---|---|
validation_error | 422 | Bad body, unverified from, suppression hit, etc. |
unauthorized | 401 | Missing/invalid token or session |
not_found | 404 | Unknown resource |
conflict | 409 | Idempotency conflict, duplicate domain |
rate_limited | 429 | Quota / rate limit |
internal_error | 500 | Unexpected failure (no provider leak) |
The SDK throws EvreApiError with code and statusCode matching name and HTTP status.