Authentication

nofakemails uses API keys to authenticate requests. Your API keys carry many privileges, so be sure to keep them secure. If you haven't made your first request yet, start with the Quickstart Guide.

Getting Your API Key

To obtain an API key:

  1. Sign up or log in to your nofakemails dashboard
  2. Navigate to the API Keys section
  3. Click "Create API Key" and provide a descriptive name
  4. Copy your secret key immediately - it will only be shown once during creation

API Key Authentication

All API requests must include your API key for authentication. The API supports two options for providing your API key:

Option 1: X-API-Key Header (Recommended)

The recommended approach is to include your API key in the X-API-Key header:

curl -X GET "https://api.nofakemails.com/v1/email/user@example.com" \
  -H "X-API-Key: your_api_key_here"

Option 2: Authorization Bearer Token

Alternatively, you can include your API key as a Bearer token in the Authorization header:

curl -X GET "https://api.nofakemails.com/v1/email/user@example.com" \
  -H "Authorization: Bearer your_api_key_here"

Next Steps