Render an email template for a list of contacts.
Required permissions: Create and edit email templates
post
Path parameters
templateIDstring · uuidRequired
Query parameters
apiTokenstringRequired
API authentication token
Body
referenceIDsstring[]Optional
Responses
200
OK
application/json
referenceIDstring · uuidOptionalExample:
00000000-0000-0000-0000-000000000000tostringOptional
fromstringOptional
replystringOptional
subjectstringOptional
textstringOptional
htmlstringOptional
400
Missing Parameter Value
application/json
401
Incorrect Permissions or Invalid API Token
application/json
500
Engage Server Error. Unable to process response at this time.
application/json
post/mail/templates/preview/{templateID}
POST /mail/templates/preview/{templateID}?apiToken=text HTTP/1.1
Host: api.ubiquity.co.nz
Content-Type: application/json
Accept: */*
Content-Length: 25
{
"referenceIDs": [
"text"
]
}[
{
"referenceID": "00000000-0000-0000-0000-000000000000",
"to": "text",
"from": "text",
"reply": "text",
"subject": "text",
"text": "text",
"html": "text"
}
]PreviousGet a list of events for a mailout.
NextGet a rendered preview of an email template for a contact.
Last updated
Was this helpful?

