Skip to main content

1. Get your API key

Sign in to the Encrata dashboard and create a key from the API Keys page. Your key is shown once when it is created, so copy it and store it securely. Your key starts with enc_ and is tied to your account. Keep it server-side and never commit it to source control.
Already set up and want to manage keys from code? Use POST /api/account/keys to create and rotate keys programmatically.

2. Validate your first email

The fastest way to see the API work is the Email Validity endpoint. Send an address to POST /api/lookup/email/validity and Encrata tells you whether it is safe to send to - valid, invalid, catch-all, or risky - along with the reason, provider, and domain trust signals. It is the same check you would run to scrub a list before a campaign and cut bounces. Every request authenticates with your API key in the Authorization header:

3. Read the response

A 200 OK returns the verdict plus enrichment. The two fields you will branch on are status (the public verdict) and reason (the machine-readable cause):
Each validation costs 1 credit. Repeat checks of the same address within the 6-month free-repeat window are free (credits: 0). See the full field reference on the Email Validity page.

Next steps

You made your first lookup. Here is where to go next.