import { Resend } from 'resend'; const resend = new Resend('re_xxxxxxxxx'); const { data, error } = await resend.broadcasts.update( '49a3999c-0ce1-4ea6-ab68-afcd6dc2e794', { html: 'Hi {{{FIRST_NAME|there}}}, you can unsubscribe here: {{{RESEND_UNSUBSCRIBE_URL}}}', }, );
{ "id": "49a3999c-0ce1-4ea6-ab68-afcd6dc2e794" }
Update a broadcast to send to your audience.
"Your Name <sender@domain.com>"
Was this page helpful?