Add New Template or Draft Message

This endpoint allows you to create a template or a draft message in the account.

Parameters

Name Parameter
Type
Allow
Multiple
Required/
Optional
Data Type Description
Authorization: Header False Required String Insert your generated access token.
("Bearer {access token}")
type Form False Required String Type is either draft or template.
subject Form False Required String Specify a subject for the message.
title Form False Optional String Specify the title of the message.
htmlbody Form False Optional String Specify the HTML for the message.
textbody Form False Optional String Specify the TEXT body for the message.
foldername Form False Optional String Specify the folder name to store the message.
sendername Form False Optional String Specify the verified sender email name.
senderemail Form False Optional String Specify the verified sender email address
headerid Form False Optional String Specify the header ID for the message.
footerid Form False Optional String Specify the footer ID for the message.
logoid Form False Optional String Specify the logo ID for the message.

Parameter Notes

htmlbody

Adding a custom htmlbody is equivalent to adding a custom content block to and Act-On email.

Response

Code Examples