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"
}

Authorizations

Authorization
string
header
default: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

Send request for an existing saved email.

emailId
string
required
Minimum string length: 1
domainId
string
required
Minimum string length: 1
subject
string
required
Minimum string length: 1
previewText
string
Maximum string length: 50
replyTo
string<email>
audienceId
string
Minimum string length: 1
emails
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>