apicheats.dev Cheat sheet Raw .md
POST

Try POST /templates — Resend API

Resend playground

Create a template

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

8 body fields
  • name · required · string — The name of the template.
  • alias · optional · string — The alias of the template.
  • from · optional · string — Sender email address. To include a friendly name, use the format "Your Name <[email protected]>".
  • subject · optional · string — Email subject.
  • reply_to · optional · string[] — Reply-to email addresses.
  • html · required · string — The HTML version of the template.
  • text · optional · string — The plain text version of the template.
  • variables · optional · object[] — Request body field variables.