postEmailTemplate

Creates a new email template. See the full list of available language parameters here. This call is only available for third-party integration partners, and not for property client IDs.

Form Data
string | null

Property ID

string
enum
Defaults to nonMarketing

Type of the email template: Marketing or Non-Marketing. Only applicable to GDPR-compliant properties.

Allowed:
string

Template name

string

Email address from which the email message may be sent

string | null

from which the email message may be sent. If empty email will be used

subject
object

Email message subject. The subject key should be a language code (IETF). A few examples are listed below.

body
object

Email message body. The body key should be a language code (IETF). A few examples are listed below.

string | null

Email address to which the email message may be replied. If empty, the value on from parameter will be used.

string | null

Name to which the email message may be replied. If empty, email will be used.

boolean | null

If set, all languages will be set with the value for the property language. If not informed and only one language is sent, it's considered true, if more than one language is sent, it'll be considered false.

string | null

Email address to which the email message may be sent as a Carbon Copy

string | null

Email address to which the email message may be sent as a Blind Carbon Copy

Response

Language
Credentials
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json