Skip to content

Authentication

Learn how to authenticate your API requests.

API Keys

All API requests require authentication using an API key. You can obtain your API key from your account dashboard.

Using Your API Key

Include your API key in the request headers:

bash
curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.syntheticusers.com/api/v1/endpoint

Security Best Practices

  • Never commit API keys to version control
  • Rotate your keys periodically
  • Use environment variables to store keys
  • Restrict API key permissions when possible

Released under the MIT License.