Skip to main content
GET
/
v1
/
templates
List Templates
curl --request GET \
  --url https://brew.new/api/v1/templates \
  --header 'Authorization: Bearer <token>'
{
  "templates": [
    {
      "emailId": "seed-vercel-newsletter",
      "emailHtml": "<html><body>Frontend digest</body></html>",
      "emailPng": "https://cdn.brew.new/seed-vercel.com-seed-vercel-newsletter.png"
    }
  ]
}

Authorizations

Authorization
string
header
default:brew_your_api_key
required

Send your Brew API key as Authorization: Bearer brew_xxx.

Query Parameters

brand
string
Minimum string length: 1
category
string
Minimum string length: 1
semantic
string
Minimum string length: 1

Response

Public templates matching the requested filters.

templates
object[]
required