Add new template or draft message

Add a draft message or template message to your account.

Parameters

Name Parameter
Type
Allow
Multiple
Required/
Optional
Data Type Description
Authorization: Header False Required String (Bearer {access token}) Pass the authentication token that was granted when you authorized access.
type Form False Required String Type is either draft or template.
subject Form False Required String The subject line of the message.
title Form False Optional String A message title.
htmlbody Form False Optional String The html content of the message. The textbody and htmlbody cannot both be null.
textbody Form False Optional String The text content of the message. The textbody and htmlbody cannot both be null.
foldername Form False Optional String The folder name to place the message in. If the folder does not exist it will be created.
sendername Form False Optional String Name of the sender. If sendername is used then senderemail must also be used.
senderemail Form False Optional String Email address of the sender. Must be a valid e-mail address with sending privileges in Act-On. If used then sendername must also be used.
headerid Form False Optional String ID value for a header to include in the message. Note: if the stationary for the message is suppressing headers then the header will not appear even though the header id is set.
footerid Form False Optional String ID value for a header to include in the message. Note: if the stationary for the message is suppressing footers then the footer will not appear even though the footer id is set.
logoid Form False Optional String ID value for a logo to include in the message. Note: if the stationary for the message is suppressing logos then the logo will not appear even though the logo id is set.

Request

HTTP

curl

 

Response

A successful request results in an HTTP 200 response in JSON like the following:

OAuth
Grant Type Password
Grant Type Code
Grant Type Refresh
Account API
Get account information
Create new account user
Delete account users
Delete account user
Get email senders
Fact API
Get contact fact and score data
Upload custom events
Get upload custom event status
List API
Get listing of lists
Download a list
Create a new list
Update or merge a list
Get list upload status
Delete a list
Delete records from a list
Get hard bounce list
Get spam complaint list
Get optout list
Update optout list
Get subscription opt-outs by category
mergespecs
uploadspecs
Content API
Get logo list
Get a logo
Add a logo
Update a logo
Delete a logo
Get header list
Get a header
Add a header
Update a header
Delete a header
Get footer list
Get a footer
Add a new footer
Delete a footer
Update a footer
Get image list
Get an image
Add an image
Replace an image
Delete an image
Get media list
Get media file
Add a media file
Add a media link
Update Media File
Delete a media object
Get form list
Get promotional form URLs
Get page list
Get page
Delete page
Get promotional page URLs
Get list of programs
Reporting API
Get message report
Get message report drilldown
Get message report by time period
Get media report
Get media message report
Get a media view report
Get a media timeline report
Get form report
Get page report
Get spam complaint list
Get hard bounce list
Email Campaign API
Get message list
Send a message
Resend a message
Add new template or draft message
Update template or draft message
Delete a message
Get message report
Get message report drilldown
Get message report by time period
Get message HTML contents
Contact API
Add a contact
Get contact record
Upsert a contact record by email
Update a contact by record ID
Delete a contact
Get contact record ID based on cookie ID
Get contact from list based on cookie ID or e-mail
Get subscription categories
Opt in/Opt out subscription category by email address
Get subscription category opt-ins by email
Opt in/Opt out multiple subscription categories by email address
SEO API
Get SEO keywords
Get a new SEO report
Frequently Asked Questions