Follow the mails sent to groups of contacts, right away or at a scheduled time: find deliveries, check their status, and cancel, reschedule or hide them. To send mail, use the v2 Sending endpoints.
Get delivery
Returns one delivery as an array with one item, or an empty array if the
delivery does not exist, is hidden or is not yours. Without id, returns all
your mailing list deliveries. To get several deliveries by ID, use
getDeliveries, and for one page or date range,
getDeliveriesRange.
Get delivery › Request Body
idDelivery ID. If omitted, all your mailing list deliveries are returned.
Get delivery › Responses
OK
succeedResponse status.
Get deliveries by ID
Returns the deliveries with the given IDs, or all your mailing list deliveries
if ids is empty. Hidden deliveries and deliveries that are not yours are left
out. To get the deliveries one page or date range at a time, use
getDeliveriesRange.
Get deliveries by ID › Request Body
idsDelivery IDs. If omitted or empty, all your mailing list deliveries are returned.
Get deliveries by ID › Responses
OK
succeedResponse status.
Array of deliveries.
Get deliveries by range
Returns your mailing list deliveries one page or one date range at a time.
Hidden deliveries are not included. getDeliveriesRangeCSV returns the
same data as CSV.
Get deliveries by range › Request Body
Number of deliveries to skip as an integer, or a start date such as 2019-12-20 to return deliveries scheduled on or after that day.
Maximum number of deliveries as an integer, or an end date such as 2020-01-31 to return deliveries scheduled on or before that day. 0 means no limit.
sortSort key: created, subject, id, members, bounced, campaign, list_id or scheduled, optionally followed by ASC or DESC. Defaults to created DESC.
Get deliveries by range › Responses
OK
succeedResponse status.
Array of deliveries.
Get deliveries by range as CSV
Returns the same deliveries as getDeliveriesRange as CSV text, with a
header row and fields separated by semicolons. Array fields, such as tags, are
joined with commas, and subject, html and plain are Base64-encoded.
Get deliveries by range as CSV › Request Body
Number of deliveries to skip as an integer, or a start date such as 2019-12-20 to return deliveries scheduled on or after that day.
Maximum number of deliveries as an integer, or an end date such as 2020-01-31 to return deliveries scheduled on or before that day. 0 means no limit.
sortSort key: created, subject, id, members, bounced, campaign, list_id or scheduled, optionally followed by ASC or DESC. Defaults to created DESC.
Get deliveries by range as CSV › Responses
OK
succeedResponse status.
resultDeliveries in CSV format.
Get scheduled deliveries
Returns the deliveries that are scheduled for a future time and are not sent or cancelled yet.
Get scheduled deliveries › Request Body
numMaximum number of deliveries to return. 0 returns all.
reverseSet to 1 to sort by scheduled time in descending order. Defaults to ascending.
Get scheduled deliveries › Responses
OK
succeedResponse status.
Array of scheduled deliveries.
Get event delivery IDs
Returns the IDs of all deliveries of type event in your account, including
hidden ones. getDeliveries returns the type of each delivery.
Get event delivery IDs › Responses
OK
succeedResponse status.
resultDelivery IDs.
Get related deliveries
Returns the IDs of the deliveries related to a delivery, such as the other
deliveries of a multi-list or A/B delivery. Returns an empty array if there are
none. To cancel a delivery together with its related deliveries, use
cancelDeliveryRelated.
Get related deliveries › Request Body
idDelivery ID.
Get related deliveries › Responses
OK
succeedResponse status.
resultArray of related delivery IDs.
Get delivery statuses
Returns the sending progress of several deliveries at once: the number of
contacts and delivered messages, and whether sending is done. members does
not include excluded contacts. Deliveries that are not yours are left out, and
an error is returned if none of the deliveries is found. For the full details of
one delivery, use getDeliveryReport.
Get delivery statuses › Request Body
deliveriesDelivery IDs.
Get delivery statuses › Responses
OK
succeedResponse status.
Array of delivery status objects.
Get delivery size
Returns the estimated size of the delivery's message in bytes, without headers:
the length of the HTML, plain text, subject and SMS text, plus the size of its
images or attachments. Returns 0 if the delivery does not exist or is not
yours.
Get delivery size › Request Body
delivery_idDelivery ID.
inline_onlyWhich files are added to the size: 1 adds inline images and attachments, 0 adds all images but no attachments. Defaults to 1.
Get delivery size › Responses
OK
succeedResponse status.
resultDelivery size in bytes.
Check sending block
Returns whether sending is temporarily blocked for your account. While the block
is on, requests that send mail fail with a sending blocked error.
Check sending block › Responses
OK
succeedResponse status.
resultReturns true if sending is temporarily blocked for your account.
Resend delivery to mailing list
Sends the content of an existing delivery again as a new delivery. The mail and
its content blocks are copied, so the original delivery does not change. With
list_id, the new delivery is sent to that mailing list at the scheduled time
and keeps the open and link tracking of the original. Without list_id, the new
delivery is created without contacts and is not sent.
Resend delivery to mailing list › Request Body
ID of the delivery to send again, or the name of its mail, as returned by getMailName.
list_idMailing list ID.
Delivery settings.
Resend delivery to mailing list › Responses
OK
succeedResponse status.
resultID of the newly created delivery.
Cancel delivery
Marks a delivery as cancelled so that it is not sent. Cancel it before sending
starts: messages that are already sent are not affected. To cancel the delivery
together with its related deliveries, use cancelDeliveryRelated.
Returns an error if the delivery does not exist or is not yours.
Cancel delivery › Request Body
idDelivery ID.
Cancel delivery › Responses
OK
succeedResponse status.
resultReturns 1 on success.
Cancel related deliveries
Cancels a delivery and all its related deliveries, as returned by
getRelatedDeliveries. Deliveries that are already cancelled are skipped.
Each delivery is cancelled as with cancelDelivery, so messages that are
already sent are not affected.
Cancel related deliveries › Request Body
idDelivery ID.
Cancel related deliveries › Responses
OK
succeedResponse status.
resultReturns 1 on success.
Hide delivery
Hides a delivery from the report view. Hidden deliveries are no longer returned
by getDelivery, getDeliveries or getDeliveriesRange.
Hiding does not cancel the delivery: a scheduled delivery is still sent unless
you cancel it with cancelDelivery.
Hide delivery › Request Body
delivery_idID of the delivery to hide from reports.
Hide delivery › Responses
OK
succeedResponse status.
resultReturns 1 on success.