Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v74
  • v74
  • v73
  • v72
Login
  • User API documentation
  • API interaction
  • Matching
  • Profiles
  • Databases
  • Resources
  • Segments
  • Suppression lists
  • Templates and fragments
  • Campaigns
  • Mailings
  • Automation scenarios
  • Loyalty Programs
  • Promo codes
  • Goals
  • Application push notifications
  • Market
  • Analytic reports
    • Get summary report
    • Get soft bounces report
    • Get undeliveries report
  • SendersDev
  • External datatables queries
  • Objects
  • Miscellaneous
  • Importing the API collection in Postman
  • List of API endpoints
  • SDK
  • Analytic reports
  • Get soft bounces report
Documentation for version v74

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_idint1NoMailing 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​

  • JSON
  • XML
{
"token": "abcdefghijklmnqrstuvwxyz",
"campaign_id": 116,
"date_from": "2024-04-26",
"date_to": "2024-05-01",
"format": "json",
"top": 2
}
<xml>
<token>abcdefghijklmnqrstuvwxyz</token>
<campaign_id>116</campaign_id>
<date_from>2024-04-26</date_from>
<date_to>2024-05-01</date_to>
<format>xml</format>
<top>2</top>
</xml>

Response example​

  • JSON
  • XML
{
"data": [
{
"data_id": "",
"count": 3,
"bounce_text": "Your message was not delivered because the other user mailbox was not available",
"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"
}
<xml>
<error>0</error>
<error_text>Successful operation</error_text>
<data>
<data_id></data_id>
<count>3</count>
<bounce_text>Your message was not delivered because the other user mailbox was not available</bounce_text>
<to_domain>example.com</to_domain>
</data>
<data>
<data_id></data_id>
<count>3</count>
<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</bounce_text>
<to_domain>jetwire.name</to_domain>
</data>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
bounce_textstringEmail provider response
countintEmail provider response count
data_idstringData source ID
to_domainstringDomain
Last updated on Aug 16, 2024
Previous
Get summary report
Next
Get undeliveries report
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.