Authentication
All API requests require a valid API key passed as a Bearer token.
Bearer Token
Authenticate by including your API key in the Authorization header of every request:
http
Authorization: Bearer YOUR_API_KEY
Your API key is a long string starting with ev_. For example:
http
Authorization: Bearer ev_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Where to find your API key
- Log in to your account at verimails.com/dashboard
- Navigate to Settings â API Keys
- Copy your key
Keep your API key secret. Never include it in client-side JavaScript, public repos, or share it with untrusted parties. If compromised, regenerate it immediately from the dashboard.
Example authenticated request
bash
curl -X POST https://verimails.com/api/verify/single \
-H "Authorization: Bearer ev_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"email": "test@example.com"}'
Authentication errors
If your key is missing or invalid, you'll receive a 401 Unauthorized response:
json
{
"error": "Unauthorized",
"message": "Invalid or missing API key",
"status_code": 401
}
Need multiple API keys for different environments or applications? You can generate additional keys from the dashboard.