Add a new template
Creates a new email template with the specified content and settings.
Request
This endpoint expects an object.
key
A valid Mandrill API key
name
Name for the new template - must be unique
from_email
Default sending address for emails sent using this template
from_name
Default from name to be used
subject
Default subject line to be used
code
HTML code for the template with mc:edit attributes for editable elements
text
Default text part to be used when sending with this template
publish
Set to false to add a draft template without publishing
labels
Optional array of up to 10 labels to use for filtering templates
Response
Success
Errors
401
Unauthorized Error
422
Unprocessable Entity Error
500
Internal Server Error