EUREG Documentation

Authentication

All API requests require an API key for authentication.

API Key Format

API keys use the format eureg_live_ followed by 32 random characters. Test keys use the prefix eureg_test_.

Sending your API key

Pass your API key in the Authorization header as a Bearer token:

Requestbash
curl -H "Authorization: Bearer eureg_live_a3f8k9m2..." \
  https://api.eureg.io/api/v1/announcements

Error responses

StatusMeaning
401Missing or invalid API key
403API key is valid but lacks permission for this resource
429Rate limit exceeded (see Rate Limits)

Managing API keys

Create and revoke API keys from your Dashboard. Keys are shown only once at creation time. Keep them secure and never commit them to version control.

Security best practices

  • Store API keys in environment variables, not in code
  • Use separate keys for development and production
  • Revoke compromised keys immediately from the dashboard
  • Never expose API keys in client-side code or public repositories