Skip to main content

Get soft bounces report

Description

Retrieves email soft bounces report.

Email providers return error codes from 400 to 499. This marks a soft bounce: a message cannot be temporarily delivered.

Request URL

Method: POST

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

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 results by ...
topint2NoTop X soft bounces

group_by parameter possible values:

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

Request example

{
"campaign_id": 1,
"date_from": "2018-08-10",
"date_to": "2018-08-15",
"format": "json",
"token": "abcdefghijklmnqrstuvwxyz",
"top": 2
}

Response example

{
"data": [
{
"bounce_text": "403 Softbounce.",
"count": 5,
"data_id": "",
"to_domain": "softbounce.report.net"
},
{
"bounce_text": "409 Server on the maintenance.",
"count": 5,
"data_id": "",
"to_domain": "softbounce.report.net"
}
],
"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