Docs
Broadcasts

Update Broadcast

Edit a draft broadcast.

PATCH/broadcasts/{broadcast_id}

Path Parameters

broadcast_idstringrequired
Broadcast ID.

Body Parameters

subjectstring
Subject.
htmlstring
HTML.
import { Resend } from 'resend';

const client = new Resend('pw_xxxxxxxxx');

const { data, error } = await client.broadcasts.update('{broadcast_id}', { subject: 'November update (v2)' });
Try itPATCH/broadcasts/%7Bbroadcast_id%7D

No key yet? Create one in the dashboard.