Create API key
Create the credentials your app will use when calling the API.
Create a key safely
- Open API Keys.
- Create the key in the correct project.
- Store the full secret immediately.
- Use send scope only unless the app intentionally calls raw status or usage endpoints.
Header format
text
Authorization: Bearer hm_live_<keyId>_<secret>App environment
bash
HOMAIL_BASE_URL=https://homail.shanehoban.com
HOMAIL_API_KEY=hm_live_<keyId>_<secret>
HOMAIL_FROM=noreply@homail.shanehoban.comLocal development
Use `HOMAIL_BASE_URL=http://localhost:3000` when calling your local Homail server.