API error
forbidden
HTTP 403 · no credit is used for a request that ends in an error.
The key lacks the scope this endpoint needs (for example bulk), the account is suspended or on a billing hold, or the account has EU-only processing turned on and the request went to https://api.email-validation.org. GET /v1/latency, which takes no key, answers it to a browser request made by another website: it serves our website only.
What to do
Use a key with the right scope, or check the notices in your dashboard. With EU-only processing, send requests to https://api-eu.email-validation.org. For GET /v1/latency, call it from a server or a terminal, not from another website's page.
Retry
After you fix the account. When and how often to retry any error: retrying safely.
The answer
{
"error": {
"code": "forbidden",
"message": "You do not have access to this resource.",
"request_id": "req_7Hq2LmX9cV4bN8tR1zK6wD"
}
}Account with EU-only processing, request sent to https://api.email-validation.org:
{
"error": {
"code": "forbidden",
"message": "This account validates in the EU only. Send requests to https://api-eu.email-validation.org.",
"request_id": "req_7Hq2LmX9cV4bN8tR1zK6wD"
}
}Branch on code, which is stable; message is for people and may change. Keep request_id in your logs.
Headers that come with it:
X-Request-Id: Our ID for the request (same asrequest_idin bodies).
Endpoints that can answer it
GET /v1/validate(403)POST /v1/validate(403)GET /v1/credits(403)GET /v1/usage(403)POST /v1/bulk(403)GET /v1/bulk/{id}(403)DELETE /v1/bulk/{id}(403)POST /v1/bulk/{id}/start(403)GET /v1/bulk/{id}/results(403)GET /v1/latency(403)