Skip to main content

Get summary report

Description

Retrieves a summary report.

Request URL

Method: POST

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

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format.
By default – json
resource_idint1Noresource ID
date_fromstring"2018-08-10"YesTime period start date
date_tostring"2018-08-15"YesTime period end date
data_typestring"segment"YesAudience source type
data_id*1NoAudience source ID
data_groupstring"campaign"NoData grouping parameter ("day" , "week" or "month")
show_deletedboolfalseNoShow deleted entries data
is_test_databoolfalseNoShow test and watchers data

Report sources:

data_typeDescriptiondata_id parameter availabledata type of data_id parameter
campaignCampaignYesint
listDatabaseYesint
segmentSegmentYesint
messageMessage templateYesint
senderSenderYesint
domaingroupEmail domain groupYesstring
domainEmail domainNo-
vendorVendorNo-
dayDaily reportNo-
weekWeekly reportNo-
monthMonthly reportNo-
environmentMobile or desktop trafficNo-

Request example

{
"token": "abcdefghijklmnqrstuvwxyz",
"data_group": "vendor",
"data_id": 7,
"data_type": "list",
"date_from": "2024-04-04",
"date_to": "2024-05-05",
"format": "json"
}

Response example

{
"data": [
{
"clicks": 22,
"complains": 2,
"confirms": 7,
"delivs": 22,
"hbounces": 3,
"id": "Vendor #2",
"opens": 44,
"reads": 2,
"sbounces": 15,
"sends": 41,
"suppresses": 1,
"uclicks": 15,
"unsubs": 3,
"uopens": 22
},
{
"clicks": 34,
"complains": 4,
"confirms": 13,
"delivs": 24,
"hbounces": 7,
"id": "Vendor #1",
"opens": 48,
"reads": 3,
"sbounces": 21,
"sends": 31,
"suppresses": 3,
"uclicks": 21,
"unsubs": 6,
"uopens": 24
}
],
"error": 0,
"error_text": "Successful operation"
}

Response parameters

ParameterTypeDescription
errorintError code
error_textstringError text
idstringReport data source ID
clicksintEmail clicks
complainsintFBL complaints
opensintOpened emails
readsintEmails read
repliesintEmail replies
sendsintEmail sends
confirmsintConfirmed emails
delivsintEmail deliveries
undelivsintUndelivered emails
unsubsintOpt-outs
uopensintEmail unique opens
ureadsintEmail unique reads
offenceintCommunication policy offences
glancedsintMessages glanced
hbouncesintEmail hard bounces
sbouncesintEmail soft bounces
suppressesintSuppressed messages
uclicksintEmail unique clicks
ulclicksintUnique email opt-out clicks
sends_pushintPush sends
clicks_pushintPush clicks
uclicks_pushintPush unique clicks
delivs_pushintPush deliveries
ureads_pushintPush unique reads
opens_pushintPush opens
uopens_pushintPush unique opens
push_ctrintPush CTR
sbounce_pushintSoft bounce push
hbounce_pushintHard bounce push
sends_smsintSMS sends
clicks_smsintSMS clicks
uclicks_smsintSMS unique clicks
delivs_smsintSMS deliveries
undelivs_smsintUndelivered SMS
sms_ctrintSMS CTR
unsubs_smsintSMS opt-out rate
open_rateintOpens rate
push_deliv_rateintPush deliveries rate
u_read_rateintUnique read rate
u_open_click_rateintUnique opens and clicks rate
sb_rateintSoft bounce rate
email_read_rateintEmails read rate
delivery_rateintDeliveries rate
email_unsub_rateintEmail opt-out rate
email_u_read_rateintEmail unique rate
open_click_rateintCTOR
suppresses_rateintSuppressed messages rate
unsub_rateintOpt-out rate
u_click_rateintUnique clicks rate
click_rateintClicks rate
sms_deliv_rateintSMS deliveries rate
hb_rateintHard bounce rate
push_open_rateintPush open rate
undelivs_pushintUndelivered push messages
complain_rateintFBL complains rate
u_open_rateintUnique opens rate
email_reply_rateintReply rate im emails
sends_totalintTotal sends
delivs_totalintTotal delivered
undelivs_totalintTotal undelivered
reads_totalintTotal reads
clicks_totalintTotal clicks
uclicks_totalintTotal unique clicks
opens_totalintTotal unique opens
ureads_totalintTotal unique reads
uopens_totalintTotal unique opens