Create email template

Use this endpoint to create an email template.

Body Params

Takes the template details returns a JSON that provides the UUID of the created template.

string
required

Specify the name for the template.

string

Specify the email address of the template's author.

resource
object
required
boolean
required
Defaults to true

Message is not sent to user if the external fetch encounters an error or does not return any data)

template_properties
array of objects
required
length ≤ 1

Specify the campaign behavior properties for the template.

template_properties*
external_fetches
array of objects

Specify the external fetches for the template.

external_fetches
transaction_mixins
array of objects

Specify the transaction mixins for the template. Note that when you add multiple transaction mixins, the resultant transactions are the OR result of all the queries related to the transactions mixins. For example, the resultant JSON response will contain any transaction that meets EITHER the transaction_mixin1 criteria OR the transaction_mixin2 criteria (or both).

transaction_mixins
string

Specify a folder and then tags under the folder in the format folder_name: tag1, tag2, tag3. For example, Regions:USA,China,Brazil,Hong Kong,India,Sweden,Canada.

📘 Tag data should exist in your account.

Responses
200

OK

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