Overview
Brew Public API v1 gives you programmatic access to the same core flows that power the product. Use it to:- Manage contacts and contact fields.
- List saved audiences.
- Create and list brands.
- List verified sending domains.
- Generate and list emails.
- List public templates.
- Start send jobs for saved emails.
Base URL
/v1 prefix.
Authentication
Every request needs a Brew API key. You can send it in either header:Quick Start
How The API Fits Together
Think about the API in four parts.Recipient Data
GET /v1/contactsPOST /v1/contactsPATCH /v1/contactsDELETE /v1/contactsGET /v1/fieldsPOST /v1/fieldsDELETE /v1/fieldsGET /v1/audiences
Brand And Sender Identity
GET /v1/brandsPOST /v1/brandsGET /v1/domains
Email Creation
GET /v1/emailsPOST /v1/emailsGET /v1/templates
Delivery
POST /v1/sends
runId.
Current Public v1 Surface
| Method | Endpoint | Purpose |
|---|---|---|
GET | /v1/contacts | List contacts, count contacts, or look up one contact by email |
POST | /v1/contacts | Upsert one or many contacts |
PATCH | /v1/contacts | Patch a contact |
DELETE | /v1/contacts | Delete one or many contacts |
GET | /v1/fields | List contact fields |
POST | /v1/fields | Create a contact field |
DELETE | /v1/fields | Delete a contact field |
GET | /v1/audiences | List saved audiences |
GET | /v1/brands | List completed brands |
POST | /v1/brands | Create or reuse a brand from a URL |
GET | /v1/domains | List verified sending domains |
GET | /v1/emails | List latest saved emails |
POST | /v1/emails | Generate a new email |
GET | /v1/templates | List public templates |
POST | /v1/sends | Start a send job |
Idempotency
POST endpoints support idempotency with theIdempotency-Key header.
Use it on:
POST /v1/contactsPOST /v1/fieldsPOST /v1/brandsPOST /v1/emailsPOST /v1/sends
Rate Limits And Debugging Headers
Successful responses include helpful headers:x-request-idX-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset
x-request-id.
TypeScript SDK
If you prefer typed wrappers over raw HTTP, Brew also ships an official TypeScript SDK.TypeScript SDK
Use
@brew.new/sdk for typed requests, retries, idempotency, and a
resource-oriented client surface.Public API v1 Reference
Browse the generated endpoint pages from the current OpenAPI spec.
What To Read Next
Public API v1
Browse every generated endpoint page from the current OpenAPI spec.
SDK Overview
Start with the official TypeScript SDK.
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.