Create API key

Create the credentials your app will use when calling the API.

Create a key safely

  1. Open API Keys.
  2. Create the key in the correct project.
  3. Store the full secret immediately.
  4. 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.com

Local development

Use `HOMAIL_BASE_URL=http://localhost:3000` when calling your local Homail server.