> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brew.new/llms.txt
> Use this file to discover all available pages before exploring further.

# The API Catalog

> Every Brew capability you can call from your own product, runnable from the dashboard. Fill in the parameters, run it against your real brand, then copy the exact request as cURL, TypeScript, the SDK, or Python, or hand the implementation prompt to your AI agent.

<Note>
  **July 2026** · Available on all plans.
</Note>

## What Shipped

There's a new **API** tab in the sidebar. It's a catalog of the eleven Brew
capabilities you can call from your own product, and every one of them runs
right there in the dashboard against your real brand.

An endpoint reference tells you what the fields are, but not what your brand's
emails look like coming out the other side, or which category tag produces the
treatment you wanted. Now you can try it first, then copy out the call that
produced the result you liked.

## Eleven APIs, Three Groups

**Create** covers design generation: Generate Email from a plain-language
prompt, Edit Email to revise an existing design, and Figma to Email to turn a
frame into something sendable.

**Media** covers the imagery around an email: HTML to PNG, Image to GIF,
Optimize Image, and Resize Image.

**Quality** covers the pre-send checks: Validate Contacts, Accessibility
Audit, Email Inbox Preview, and Inbox Placement.

Each row carries its cost up front, whether that's free, a fixed credit
count, or usage-based metering, so you know what a call charges before you
run it.

## Run It Before You Build It

Click any API and you get its own page. The required input sits at the top,
the optional **Parameters** rail sits on the right, and the run button is
between them. Results land underneath, with **Latest** and **History** tabs
so you can compare runs instead of losing the good one.

On Generate Email the parameters are the interesting part. **Category** picks
the design treatment from fourteen options, welcome through re-engagement.
**Content URLs** takes up to eight pages, so the copy is grounded in your
real product pages instead of invented. **Reference design** opens a
searchable picker of every email in your account with a live preview, so you
can point at a design you already like rather than describe it.

## Copy the Call, Not the Concept

The request snippet under the output updates as you change parameters, and
switches between four shapes: **cURL** for a terminal, **TypeScript (SDK)**
for a typed call through `@brew.new/sdk`, **TypeScript** for plain `fetch`,
and **Python**.

A key picker sits below it. It selects which of your brand's keys the in-app
run authenticates with, but copied snippets always carry the
`brew_your_api_key` placeholder, so pasting one into a ticket or a chat
window never leaks a live credential.

## Hand It to Your Agent

Every API also carries a copyable **implementation prompt**: a full briefing
for a coding agent. The goal, the endpoint, the docs link, the cost, the auth
pattern, the SDK equivalent, the MCP tool that does the same job, every
request field with its constraints, and an example body. It closes by telling
the agent to ask you about SDK versus raw HTTP before it writes anything.

Paste it into Claude Code or Cursor and you get an integration built against
the real surface instead of a guessed one. **Open in Claude** in the header
sends it there in one click, **Try in Chat** hands the capability to the Brew
chat agent, and **Docs** opens the endpoint reference.

## Get Started

Open **API** in the sidebar, or go straight to
[brew.new/api](https://brew.new/api). The full walkthrough is in
[API Catalog](/api-reference/api/api-catalog).

## Related

* [API Catalog](/api-reference/api/api-catalog)
* [API Introduction](/api-reference/api/api-introduction)
* [MCP Server](/api-reference/mcp/overview)
* [Use Brew With AI Agents](/integrations/ai-agents/use-brew-with-ai-agents)
