apicheats.dev Cheat sheet Raw .md
POST

Try POST /broadcasts — Resend API

Resend playground

Create a broadcast

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.resend.com; the proxy stores and logs nothing about them.

Headers

Body application/json

12 body fields
  • name · optional · string — Name of the broadcast.
  • segment_id · required · string — Unique identifier of the segment this broadcast will be sent to.
  • audience_id · optional · string — Use `segment_id` instead. Unique identifier of the segment this broadcast will be sent to.
  • from · required · string — The email address of the sender.
  • subject · required · string — The subject line of the email.
  • reply_to · optional · string[] — The email addresses to which replies should be sent.
  • preview_text · optional · string — The preview text of the email.
  • html · optional · string — The HTML version of the message.
  • text · optional · string — The plain text version of the message.
  • topic_id · optional · string — The topic ID that the broadcast will be scoped to.
  • send · optional · boolean — Whether to send the broadcast immediately or keep it as a draft.
  • scheduled_at · optional · string — Schedule time to send the broadcast. Can only be used if `send` is true.