Skip to main content
POST
/
v1
/
sends
curl --request POST \ --url https://brew.new/api/v1/sends \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "emailId": "email_123", "domainId": "domain_123", "subject": "Welcome to Brew", "audienceId": "audience_123", "scheduledAt": "2099-01-01T00:00:00.000Z" } '
{ "status": "scheduled", "runId": "wf_123", "scheduledAt": "2099-01-01T00:00:00.000Z" }

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.

Authorizations

Authorization
string
header
default:Bearer brew_your_api_key
required

Send your Brew API key as Authorization: Bearer brew_xxx.

Headers

Idempotency-Key
string

Optional idempotency key for safe retries. Reusing the same key with the same request body returns the original response for 24 hours.

Required string length: 1 - 100

Body

application/json

Campaign send request for a saved email + audience.

emailId
string
required
Minimum string length: 1
domainId
string
required
Minimum string length: 1
subject
string
required
Minimum string length: 1
audienceId
string
required
Minimum string length: 1
emailVersionId
string
Minimum string length: 1
previewText
string
Maximum string length: 50
replyTo
string<email>
scheduledAt
string<date-time>

Response

The send was accepted and queued or scheduled.

status
enum<string>
required
Available options:
queued,
scheduled
runId
string
required
Minimum string length: 1
scheduledAt
string<date-time>