curl --request GET \
--url https://api.salessequencer.com/api/v1/analytics \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.salessequencer.com/api/v1/analytics"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.salessequencer.com/api/v1/analytics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Analytics for a date range
Daily and hourly sends/replies plus breakdowns by campaign, mailbox and domain. Dates are IST days. ‘from’ and ‘to’ take effect only when BOTH are given, otherwise the range preset applies (default 14d). The range is capped at 365 days and the end at today. A bad date returns 400 . Cached about 20 seconds.
Minimum role: view (x-min-role). Destructive: false (x-destructive).
curl --request GET \
--url https://api.salessequencer.com/api/v1/analytics \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.salessequencer.com/api/v1/analytics"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.salessequencer.com/api/v1/analytics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
Query Parameters
Preset: today, yesterday, 7d, 14d (default), 30d, 90d.
Start date YYYY-MM-DD (needs 'to').
End date YYYY-MM-DD (needs 'from').
Limit to one campaign id.
Response
JSON {range:{preset, from, to, days}, campaign, totals:{sent, reached, failed, replies, positive, sent_per_day, reply_per_1k, emails_per_positive}, lifetime:{reached, bounced, pending, bounce_rate}, series, hours:[{hour,sent,replies}], stages, by_campaign, by_mailbox (top 200), by_domain, campaigns}.