Quick start
Send a single transactional email with aPOST request to /v5/transactional/mail/sends_customised.
Your
senderMail address must be registered and verified in your EffiLink account before you can send. Unregistered senders return a 403 error.Using templates and personalization
Instead of inlining HTML in every request, you can store reusable templates in EffiLink and reference them by name. Pass the template name intemplateName and supply dynamic values through the params object using personalization tags.
templateNametakes priority over anycontentfield you include in the same request.- Personalization tags in your template (e.g.
{{firstName}}) are replaced with the values you provide inparams. - If neither
contentnortemplateNameis supplied, the request returns a400error.
Scheduling a send
SetsendDate to an ISO 8601 UTC timestamp to deliver the email at a specific time — up to 72 hours in the future. Leave sendDate empty (or omit it) to send immediately.
Attaching a file
Include a single file attachment using theattachment object. File content must be base64-encoded.
Only one attachment is supported per transactional email request. For multiple files, consider hosting them and linking from the email body. The total email size limit over SMTP is 10 MB.
Batch sending with messageVersions
When you need to send up to 100 personalized versions of the same email in a single API call, use the messageVersions array. Each version can target up to 20 recipients and override the global subject, content, template, or params.
messageVersions:
Each version also supports
cc and bcc arrays (up to 20 addresses each). See the API reference for the full messageVersions schema.
Tracking opens and clicks
Enable engagement tracking by addingtrackOpen and trackClick to your request:
trackOpen: 1— EffiLink inserts a transparent tracking pixel to detect when the email is opened.trackClick: 1— All links in the email are rewritten through EffiLink’s click-tracking service.
ef:disable-tracking attribute to the anchor tag: