Generating API Keys
To use the Hey Bible API, you'll need to generate an API key from your account settings.
Steps
- Log in to Hey Bible
- Navigate to the Account page
- Under the "API Keys" section, click the + button to create a new key
- Click Copy to copy the API key to your clipboard
Using Your API Key
Include your API key in the X-Hey-Bible-Api-Key header when making requests:
curl -X GET "https://api.heybible.app/verses" \
-H "X-Hey-Bible-Api-Key: YOUR_API_KEY"
Security Tips
- Keep your API key secret - don't commit it to version control
- Use environment variables to store your API key
- Regenerate your key if you suspect it has been compromised