Skip to main content
Resend Docs

Search documentation

Type to search this documentation.

Create a broadcast

POST/broadcastsCreate a broadcast

Request body

application/json
objectCreateBroadcastOptions
audience_idstring

Use `segment_id` instead. Unique identifier of the segment this broadcast will be sent to.

fromstringrequired

The email address of the sender.

htmlstring

The HTML version of the message.

namestring

Name of the broadcast.

preview_textstring

The preview text of the email.

reply_toarray of string

The email addresses to which replies should be sent.

Show child attributes
scheduled_atstring

Schedule time to send the broadcast. Can only be used if `send` is true.

segment_idstringrequired

Unique identifier of the segment this broadcast will be sent to.

sendboolean

Whether to send the broadcast immediately or keep it as a draft.

subjectstringrequired

The subject line of the email.

textstring

The plain text version of the message.

topic_idstring

The topic ID that the broadcast will be scoped to.

Example request
{
  "audience_id": "string",
  "from": "string",
  "html": "string",
  "name": "string",
  "preview_text": "Here are our announcements",
  "reply_to": [
    "string"
  ],
  "scheduled_at": "string",
  "segment_id": "string",
  "send": true,
  "subject": "string",
  "text": "string",
  "topic_id": "string"
}

Responses

201OKapplication/json
objectCreateBroadcastResponseSuccess
idstring

The ID of the broadcast.

objectstring

The object type of the response.

Example response
{
  "id": "78261eea-8f8b-4381-83c6-79fa7120f1cf",
  "object": "broadcast"
}
Documentation menu