Update Broadcast
update-broadcastUpdate broadcast metadata (name, subject, from, html, text, segment, preview text, reply-to) by ID or dashboard URL. Requires checking and setting from and segmentId if missing.
Instructions
Update broadcast metadata by ID or Resend dashboard URL (name, subject, from, html, text, segment, preview text, reply-to). To edit TipTap content, use compose-broadcast instead.
Important: The API requires from and segmentId to be set on the broadcast. If the broadcast was created from the dashboard, these may be empty. Always call get-broadcast first to check, and include from and segmentId in your update if they are not already set. Use list-domains to find verified domains for the from address, and list-segments to find segment IDs.
Note on html/text fields: Setting html or text via this tool replaces any content previously set via compose-broadcast. This switch is lossy — some content or formatting may be lost. Prefer compose-broadcast for content changes. If the broadcast was composed with TipTap content, ask the user before overwriting it with raw HTML.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | From email address (e.g. "onboarding@resend.com" or "Resend <onboarding@resend.com>") | |
| html | No | HTML content of the email. Email HTML requirements — follow all of these without exception: STRUCTURE - Always include <!DOCTYPE html>, <html>, <head>, <body> - Layout must be table-based: <table>, <tr>, <td> — never use <div> for layout - Outer wrapper table at width="100%", inner content table at max 600px wide - Every table must have cellpadding="0" cellspacing="0" border="0" CSS - All styles must be inline (style="...") — no <style> tag, no external stylesheets - No flexbox, no grid, no CSS variables, no CSS shorthand (use padding-top not padding) - font-family must always include web-safe fallbacks (Arial, Helvetica, Georgia, sans-serif) - Always set font-size, line-height, and color explicitly on every text element IMAGES - Always set width, height, border="0", display:block on every <img> - Use absolute URLs only — no relative paths - Always include alt text LINKS & BUTTONS - Never use <button> — use <a> styled as a button inside a <td> - No <video>, <form>, or <input> elements - No JavaScript of any kind OUTLOOK COMPATIBILITY - Use bgcolor attribute on <td> alongside CSS background-color - No CSS background-image (poor Outlook support) - Add <!--[if mso]> conditionals where needed for Outlook rendering META (in <head>) - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| name | No | Name for the broadcast | |
| text | No | Plain text content of the email | |
| replyTo | No | Reply-to email address(es) | |
| subject | No | Email subject | |
| segmentId | No | Segment ID to send to | |
| broadcastId | Yes | Broadcast ID or Resend dashboard URL (e.g. https://resend.com/broadcasts/<id>) | |
| previewText | No | Preview text for the email |