Authentication

API keys and authentication methods

API Keys

All API requests require authentication using an API key. You can create and manage API keys in your dashboard under Settings → API Keys.

Using Your API Key

Include your API key in the Authorization header:

bash
curl -X GET "https://api.echostash.com/v1/prompts" \
  -H "Authorization: Bearer YOUR_API_KEY"

Key Security

  • Never expose your API key in client-side code
  • Store keys in environment variables
  • Rotate keys regularly
  • Use separate keys for development and production