Skip to main content
Resend Docs

Search documentation

Type to search this documentation.

Update an existing broadcast

PATCH/broadcasts/{id}Update an existing broadcast

Parameters

idstringpathrequired

The Broadcast ID.

Request body

application/json
objectUpdateBroadcastOptions
audience_idstring

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

fromstring

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
segment_idstring

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

subjectstring

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": "string",
  "reply_to": [
    "string"
  ],
  "segment_id": "string",
  "subject": "string",
  "text": "string",
  "topic_id": "string"
}

Responses

200OKapplication/json
objectUpdateBroadcastResponseSuccess
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