Mail deliveries
The mails the organization sent in the last month (ticket replies, invoices, proposals, invites and the like), one per address, and whether they arrived. Marketing mail keeps its results with its mailing.
List mail deliveries
Returns the mails sent in the last month, one per address, newest first.
query Parameters
searchOnly the mails whose subject, address or name contains this text.
statusOnly the mails in this status: queued, sent, delivered or failed.
pagePage number of the paginated result set.
per_pageNumber of items per page. Defaults to the endpoint's own page size; capped at 500.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List mail deliveries › Responses
Array of MailDeliveryListResource
Get a mail delivery
Returns one mail with its HTML as it went out, its attachments and whether it arrived.
path Parameters
mailDeliveryThe mail delivery UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get a mail delivery › Responses
MailDeliveryResource
idemailnameroleto, cc or bcc.
subjectstatusqueued, sent (taken by the provider), delivered (accepted by the receiving server) or failed.
failure_reasonWhy it did not arrive, as the receiving server or the provider said.
complained_atWhen the recipient marked it as spam.
source_typeWhat it was sent for, such as ticket_outbound_mail, invoice, deal, contact, employee,
employee_invite, mail_identity (a test mail) or marketing_mailing (a test mail).
source_idcreated_atThe address it was sent from. Empty when that address is gone.
The complete HTML as it went out, as a file to open like an attachment.
The files it had attached, each with a link to open it.
provider_message_idThe id the provider gave it, the same for every address of the mail. Empty when it could not be handed over.
sent_atWhen the provider took it. Empty when it could not be handed over.
delivered_atfailed_at