Overview
The Templates API lets you create, retrieve, and delete reusable HTML email templates. Templates can be referenced when building campaign send tasks, ensuring consistent branding and reducing content duplication across campaigns. Base URL:https://api.effilink.co
All endpoints require authentication via an ApiKey or OAuth header.
Add Template
string
/v5/campaign/mail/template/addRequest Parameters
string
required
A unique name for the template. Maximum 250 bytes. Used to reference the template when creating campaigns.
string
required
The full HTML content of the template. Supports personalization tags (e.g.,
{{firstName}}, {{mainContent}}).string
required
The default subject line for this template. Can be overridden when creating a send task.
string
The editor type used to create the template. Defaults to
DRAG.Response
integer
200 on success.string
A human-readable status message. Empty string on success.
Example Request
Example Response
Get Templates
string
/v5/campaign/mail/template/getRequest Parameters
string
Filter results to templates whose name contains this value. Omit to return all templates.
integer
Number of templates to return per page. Defaults to
10.integer
Page number (1-based). Defaults to
1.Response
integer
200 on success.string
A human-readable status message.
integer
Total number of templates matching the filter criteria.
array[object]
An array of template objects.
Example Request
Example Response
Delete Template
string
/v5/campaign/mail/template/deleteRequest Parameters
string
required
The name of the template to delete.
Response
integer
200 on success.string
A human-readable status message. Empty string on success.