B

Brew Public API v1

REST discovered

Details
URL
https://brew.new/api
Docs
https://docs.brew.new/api-reference/api/api-introduction
Authentication
Brew API key bearer discovered Get token ↗
Authorization: Bearer <credential> /X-API-Key: <credential>

Create a key in Brew Settings → API. Brew issues keys prefixed brew_. Choose either a brand-scoped key (implicitly bound to one brand) or an organization-scoped key (usable across brands, but brand-scoped requests must also name X-Brand-Id). For CLI use, the easiest path is run `brew-cli login` and paste the key; for non-interactive use you can also export BREW_API_KEY.