Skip to main content
GET
List templates

Authorizations

Authorization
string
header
default:Bearer brew_your_api_key
required

Send your Brew API key as Authorization: Bearer brew_xxx.

Query Parameters

brand
string

Only this brand's templates, by domain (e.g. brew.new); case-insensitive.

Minimum string length: 1
category
string

Email category, matched case-insensitively (unknown → empty page): welcome, newsletter, promotional, product-launch, product-update, order-confirmation, shipping-update, receipt, cart-abandonment, subscription, password-reset, verification, security-alert, account-update, event-invitation, event-reminder, feedback-request, re-engagement, referral, support, business, internal, notification, general.

Minimum string length: 1
semantic
string

Rank by relevance to this text instead of newest first (top 200; brand/category still narrow).

Required string length: 1 - 500
query
string

Case-insensitive title substring or exact public template identifier. Applied within semantic results when semantic is supplied.

Required string length: 1 - 250
representation
enum<string>

Full rows include HTML. Summary rows include selection metadata and links only.

Available options:
full,
summary
count

Return { count }, the number of templates matching brand/category, instead of rows. Not with semantic or query.

groupBy
enum<string>

With count: true: also count per brand or per category, largest first, 100 groups a page; continue with cursor.

Available options:
brand,
category
limit
integer

Page size, 1–100 (default 50: each row carries its full HTML).

Required range: 1 <= x <= 100
Example:

50

cursor
string
Required string length: 1 - 8192

Response

A page of templates matching the filters, or their counts when count=true.

data
object[]
required
pagination
object
required