Skip to main content

Get undeliveries report

Description

Retrieves undelivered messages report.

Request URL

Method: POST

https://example.com/api/v1.1/reports/undelivered

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format.
By default – json
date_fromstring"2018-08-10"YesReport start date
date_tostring"2018-08-15"YesReport end date
campaign_idint1NoCampaign ID
group_bystring"from_domain"NoGroup data by ...
topint2NoTop X undeliveries

group_by possible values:

  • ip – group by sender IP address
  • from_domain – group by from domain

Request example

{
"token": "abcdefghijklmnqrstuvwxyz",
"campaign_id": 116,
"date_from": "2024-04-26",
"date_to": "2024-05-01",
"format": "json",
"top": 2
}

Response example

{
"data": [
{
"data_id": "",
"count": 3,
"bounce_text": "This response is sent when the message simply failed. Often times this is not caused by you, but rather because of a far-end server problem",
"to_domain": "example.com"
},
{
"data_id": "",
"count": 3,
"bounce_text": "This response is sent when the message simply failed. Often times this is not caused by you, but rather because of a far-end server problem",
"to_domain": "jetwire.name"
}
],
"error": 0,
"error_text": "Successful operation"
}

Response parameters

ParameterTypeDescription
errorintError code
error_textstringError text
bounce_textstringEmail provider response
countintEmail provider response count
data_idstringData source ID
to_domainstringDomain