Overview
The Brew SDK uses the same API keys as the raw REST API. Every request is authenticated with your Brew API key. The SDK sends it as a Bearer token header for you.Get Your API Key
Recommended Setup
Use an environment variable in your own app code:Validate The Key
Use a simple read call to make sure the key works:Security Notes
- Keep API keys on the server only.
- Use different keys for development and production.
- Rotate keys if you think one was exposed.
- Log the
x-request-idfrom failed calls when debugging.
Next Steps
TypeScript Installation
Install and configure
@brew.new/sdk.API Introduction
See the raw public API contract.
Need Help?
Our team is ready to support you at every step of your journey with Brew. Choose the option that works best for you:- Self-Service Tools
- Talk to Our Team
Search Documentation
Type in the “Ask any question” search bar at the top left to instantly find relevant documentation pages.
ChatGPT/Claude Integration
Click “Open in ChatGPT” at the top right of any page to analyze documentation with ChatGPT or Claude for deeper insights.