Overview
The Campaign Sends API lets you manage the full lifecycle of a campaign email send task — from creation and scheduling to retrieval, cancellation, and deletion. All endpoints require authentication via anApiKey or OAuth header.
Base URL: https://api.effilink.co
Create Send Task
string
/v5/campaign/mail/sendsRequest Parameters
string
required
The name of the send task. Maximum 200 bytes. Must be unique within your team.
string
required
The verified sender email address. Must be an address already verified in your EffiLink account.
string
The display name shown to recipients in the “From” field.
string
The email subject line. Supports personalization tags (e.g.,
{{firstName}}).string
The HTML body content of the email. Supports personalization tags.
string
Scheduled send time in ISO 8601 UTC format (e.g.,
2025-06-01T10:00:00Z). Omit to send immediately.boolean
Set to
true to save the task as a draft without sending. When true, sendListNames is not required. Defaults to false.array[string]
An array of target contact list names. Required unless
onlySave is true.array[string]
An array of exclusion contact list names. Recipients on these lists will be excluded from the send.
string
The reply-to email address. If omitted, replies go to
senderMail.object
A single file attachment to include with the email.
string
The language code for the email. Controls locale-aware rendering.Accepted values:
zh-cn, en, ja, ko, de, tt, es, zh-tw, ar, pt-br, idstring
Associates this send task with a named marketing activity.
string
Associates this send task with a named subscription.
string
Associates this send task with a project. If the project does not exist, it will be created automatically.
string
The editor type used to compose the email. Defaults to
DRAG.boolean
Set to
true to run in sandbox mode. Emails are processed but not actually delivered.Response
integer
HTTP-style status code.
200 on success.string
A human-readable status message. Empty string on success.
long
The internal numeric ID of the newly created send task.
string
A globally unique identifier (GUID) for the send task.
Error Codes
Example Request
Example Response
Cancel Send Task
string
/v5/campaign/mail/cancelsendDate (i.e., not yet dispatched) can be cancelled.
Request Parameters
string
required
The name of the send task to cancel.
boolean
Set to
true to cancel a task that was created in sandbox mode.Response
integer
200 on success.string
A human-readable status message. Empty string on success.
Example Request
Get Send Tasks
string
/v5/campaign/mail/getRequest Parameters
string
Filter results to tasks whose name contains this value.
string
Filter results to tasks whose subject contains this value.
string
Filter results to tasks sent from this email address.
string
Filter by task type. Accepted values:
MailList, ABTest.boolean
Set to
true to return tasks across all teams in your account. Defaults to false (current team only).array[integer]
Filter results by task status. Accepted values:
-1 (draft), 1 (sending), 2 (send complete), 4 (send failed). Omit to return all statuses.integer
Number of results 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 tasks matching the filter criteria.
array[object]
An array of send task objects.
Example Request
Delete Send Task
string
/v5/campaign/mail/deleteRequest Parameters
string
required
The name of the send task to delete.
boolean
Set to
true to delete a task that was created in sandbox mode.Response
integer
200 on success.string
A human-readable status message. Empty string on success.