Authentication
The Enrichley API uses API keys to authenticate requests. Every request must include your key in the request headers; requests without a valid key will be rejected.Obtaining your API key
- Log in to the Enrichley app.
- Upgrade to a paid plan if you haven’t already.
- Navigate to your account or billing settings.
- Locate the API key section and copy your key.
Using your API key
Include your key in every API request using theX-Api-Key header:
- Header name:
X-Api-Key - Location: HTTP header
- Applies to: all Enrichley API endpoints
Summary
- You authenticate with a single API key, passed in the
X-Api-Keyheader. - Keys are issued from your Enrichley dashboard for paid plans.
- Every request to the email validation endpoint must include this header.
Best practices for API key security
- Keep it private – Treat your API key like a password. Do not share it in public repos, support forums, or client-side code.
- Use environment variables – Store keys in environment variables or a secrets manager, not directly in your code.
- Rotate if compromised – If you suspect a key has leaked, regenerate it in the Enrichley app and update your services.
- Limit access – Only share the key with services and team members who absolutely need it.

