Skip to main content
Transactional emails are system-triggered messages sent to a single recipient in response to a user action or event. Common use cases include order confirmations, password reset links, shipping notifications, account verification emails, and any other time-sensitive, personalized message that a user expects to receive. The EffiLink transactional email endpoint gives you full control over content, scheduling, tracking, and deliverability for every individual message you send.

Quick start

Send a single transactional email with a POST request to /v5/transactional/mail/sends_customised.
A successful response returns:
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 in templateName and supply dynamic values through the params object using personalization tags.
  • templateName takes priority over any content field you include in the same request.
  • Personalization tags in your template (e.g. {{firstName}}) are replaced with the values you provide in params.
  • If neither content nor templateName is supplied, the request returns a 400 error.

Scheduling a send

Set sendDate 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.
sendDate must be in valid ISO 8601 UTC format. Malformed timestamps return a 400 error. The maximum allowed scheduling window is 72 hours from the time of the request.

Attaching a file

Include a single file attachment using the attachment 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.
Priority rules when using 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 adding trackOpen 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.
To exclude a specific link from click tracking, add the ef:disable-tracking attribute to the anchor tag:
For more details on tracking and consuming event data via webhooks, see Email Tracking.

Common errors