Generates a draft email through the Brew email agent. POST supports idempotency for safe retries.
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.
Send your Brew API key as Authorization: Bearer brew_xxx.
Optional idempotency key for safe retries. Reusing the same key with the same request body returns the original response for 24 hours.
1 - 100Email generation prompt and optional reference context. The brand is resolved from the API key and must not be passed.