Overview
Send up to 100 personalized email versions in a single API call using themessageVersions array. Each version can target up to 20 recipients and independently override the top-level subject, content, template, and personalization parameters. This is the most efficient way to dispatch a batch of individually tailored transactional messages without making one request per recipient.
This uses the same endpoint as single transactional sends, with the addition of the messageVersions field.
Base URL: https://api.effilink.co
Endpoint: POST /v5/transactional/mail/sends_customised
Authentication: ApiKey header
Content Priority Order
When multiple content sources are provided, the following priority applies (highest to lowest):messageVersions[].templateNamemessageVersions[].content- Top-level
templateName - Top-level
content
Request Parameters
All single send parameters are supported at the top level and serve as defaults across all versions. ThemessageVersions array is required for batch sends.
string
Default email subject line, used for any version that does not define its own
subject.string
Default HTML email body content. Used for versions that do not specify
content or templateName. Required if no top-level templateName is set and no version provides its own content source.string
Default saved template name. Used for versions that do not specify their own
templateName or content.object
Default key-value personalization tags applied to all versions. Version-level
params override these values when the same key is present.string
required
Verified sender email address. Applies to all versions.
string
Sender display name. Maximum 200 bytes. Applies to all versions.
string
Reply-to email address. Applies to all versions.
string
Scheduled send time in ISO 8601 UTC format (e.g.
2024-03-10T12:00:00Z). Up to 72 hours in advance. Omit to send immediately.integer
Set to
1 to enable open tracking across all versions.integer
Set to
1 to enable click tracking across all versions.string
Email category label. Maximum 100 bytes, alphanumeric only.
string
Campaign name for analytics grouping. Maximum 100 bytes, alphanumeric only.
string
A unique message identifier for tracking and deduplication purposes. Maximum 50 bytes.
object
A single file to attach to all emails in the batch. Only one attachment is supported per request.
boolean
Set to
true to validate and process the request without delivering any emails.array
required
Array of up to 100 individual email versions. Each version inherits top-level values and may override them selectively.
Response Fields
integer
200 on success. See the error codes table for failure values.string
Empty string (
"") on success. Contains an error description on failure.