Before you begin, sign in to Brew and finish adding your brand. Wait until brand extraction is complete. You do not need to verify a sending domain.
1
Create an API key
Open brew.new/settings/api. Make sure the brand you just added is active, then click Create API key.Name the key
First email tutorial and create it. The key receives the full permissions for the active brand. Copy the key when Brew shows it.The new key appears in the API key list for the active brand.2
Check the connection
Replace The response describes the brand bound to your key. Confirm that it contains
brew_your_api_key with the key you copied, then run this command:"ready": true:3
Create a welcome email
Use the same API key in this command:Brew returns
201 after it saves the design. Copy the emailId from the response:4
Send a test
Replace Brew sends the test immediately and returns this response:
eml_2SmZOWV3ZQ7W5x6g3m4p with the emailId you copied and replace you@example.com with your own email address. Use the same API key again:5
Open the email
Open your inbox and select the message with the subject [TEST] Welcome aboard. Test sends carry the
[TEST] prefix, so the subject you set arrives with it in front.You should see the generated welcome email and its Get started button.What You Just Did
- Proved that a brand-bound API key works.
- Created and saved an on-brand email over raw HTTP.
- Sent the result to a real inbox without a verified sending domain.
Keep Going
- Use the official client in the TypeScript Quickstart.
- Generate a client for another language with OpenAPI Codegen.