Email templates control the look and feel of gift card delivery emails — banner image, layout, button colors, and border style. Reference a template by its ID in order and campaign requests.
/api/v1/templates
Returns all email templates for your organization. The default template is always listed first.
templates.read
pagepageSize/api/v1/templates/{templateId}
Retrieves a single template by ID.
templates.read
templateId/api/v1/templates
Creates a new email template. Color fields must be valid 6-digit hex codes (#RRGGBB).
templates.write
{
"name": "Corporate Blue",
"senderName": "Acme Corp",
"message": "Enjoy your gift!",
"imageAlignment": "center",
"imageSize": 40,
"borderColor": "#1F35FF",
"buttonColor": "#1F35FF",
"buttonFontColor": "#ffffff"
}
namesenderNamemessageimageAlignmentleft | center | right. Default centerimageSizeborderColor#303033buttonColorbuttonFontColor/api/v1/templates/{templateId}
Replaces all fields of an existing template. The request body format is identical to Create template.
templates.write
templateId{
"name": "Corporate Blue",
"senderName": "Acme Corp",
"message": "Enjoy your gift!",
"imageAlignment": "center",
"imageSize": 40,
"borderColor": "#1F35FF",
"buttonColor": "#1F35FF",
"buttonFontColor": "#ffffff"
}
All fields follow the same rules as Create template. All required fields must be provided.
/api/v1/templates/{templateId}
Deletes an email template. Returns 204 No Content on success.
templates.write
templateIdDEFAULT_TEMPLATE — cannot delete the default template.TEMPLATE_IN_USE — template is referenced by one or more campaigns.Start typing to search...
Select the APIs you want to integrate. A ready-to-use Markdown file with full API specs and a project context template will be generated and downloaded. Paste it into your AI assistant to get started instantly.