Documentation Index
Fetch the complete documentation index at: https://resend.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
The ID or alias of the template to duplicate.
Body Parameters
The name of the template.
The HTML version of the template.
The alias of the template.
Sender email address.To include a friendly name, use the format "Your Name <sender@domain.com>".If provided, this value can be overridden when sending an email using the template.
Default email subject.This value can be overridden when sending an email using the template.
Default Reply-to email address. For multiple addresses, send as an array of strings.This value can be overridden when sending an email using the template.
The plain text version of the message.
The React component used to write the template. Only available in the Node.js SDK.
The array of variables used in the template. Each template may contain up to 50 variables.Each variable is an object with the following properties:
Hide properties
The key of the variable. We recommend capitalizing the key (e.g. PRODUCT_NAME). The following variable names are reserved and cannot be used: FIRST_NAME, LAST_NAME, EMAIL, RESEND_UNSUBSCRIBE_URL, contact, and this.
type
'string' | 'number'
required
The type of the variable.Can be 'string' or 'number'
The fallback value of the variable. The value must match the type of the variable.If no fallback value is provided, you must provide a value for the variable when sending an email using the template.