Create a new Digital Template
Request body
A unique name to give the template.
The name that will appear in the From line of the email and the {from_name} in the text message.
The Subject of the email.
A Base64 encoded string of an image that will show as the header of the email.
The Alt Text for the Header Image in the email.
A Hex color value, six hexadecimal digits preceded by a pound sign, used as an accent in the email.
The message body for the email. This is often used to let the recipient know why they have received the reward.
The message body for the SMS. This is often used to let the recipient know why they have received the reward. Must be non-NULL when sending rewards via SMS. (limited to 90 characters)
After the reward credential, a space to close the email message to the recipient.
If left null, Tango Card's Customer Support contact information will be included. Otherwise, please provide the contact information for your customer support if you are responsible for providing first-tier customer support to your recipients. (email only)
Example request
{
"accentColor": "#000000"
}Response
Created