ENDPOINT & METHODS

ENDPOINT METHOD REQUEST PARAMETERS
https://esp.teneo.be/mtadashboard/api/v1/deliverylog POST
ELEMENT DESCRIPTION REQUIRED
filter Allows you to filter only delivered or bounced mail.
Only values “b” or “d” are allow.
NO
MaxRecords Allows you to set a limit to the returned number of elements. NO
recipient Allows to filter based on a specific recipient.
Single recipient addresses only.
NO
UID Allows to filter based on unqiue ID. Results in ascending order including the requested UID NO
TimeQueued Allows to filter based on the date the mail was sent to us. Results in descending order between 00:00:00h and 23:59:59h. Format required Y-m-d (example 2018-01-01) NO
page Allows to paginate the requested result, preferrably used in conjunction with MaxRecord (example &page=10&MaxRecords=20) NO

RESPONSE


  • [
    "type":"b",
    "timeLogged":"2017-01-18 12:56:54+0200",
    "timeQueued":"2017-01-18 12:56:08+0200",
    "orig":"me@mydomain.com",
    "rcpt":"xxxx@aol.com",
    "dsnAction":"failed",
    "dsnStatus":"4.3.2 (system not accepting network messages)",
    "dsnDiag":"smtp;421 mtaig- aae04.mx.aol.com Service unavailable - try again later",
    "bounceCat":"other",
    "jobId":"",
    "epoch":"1466247414",
    "UID":"1548652",
    "dlvSourceIp":"195.137.243.20"
    ]


Not yet available

RESPONSE FIELDS

ELEMENT DESCRIPTION TYPE
Type “b” or “d” value, bounced or delivered string
timeLogged When the email was delivered to the recipient datetime
timeQueued When the email arrived at the relay server datetime
orig The original sender string
rcpt The original recipient string
dsnAction Status of the mail delivery string
dsnStatus Extended status of the mail delivery string
dsnDiag Diagnostic info on dsnStatus field string
bounceCat In case type “b” then this element contains the bounce category specification string
jobId jobID used by sender (if used, not required) string
Epoch Epoch date of log processing Number
UID The unique ID (UID) for this message Number
dlvSourceIp The IP address via which your message was delivered string