Email delivered comparison
Overview
Get delivered-count comparison between Email and SMS for a campaign, bucketed by day, week, or month.
Prerequisites
- A bearer token. Callable with Account tokens.
- The
campaignIdof the record you are targeting.
Base URL
| Environment | URL |
|---|---|
| Production | https://production-api.shoutaboutus.com |
| Development | https://development-api.shoutaboutus.com |
Endpoint
GET /api/v1/campaign/{campaignId}/report/delivered-comparison
Authentication
-
Requires a bearer token in the
Authorization: Bearer <bearer-token>header. -
Who can call it: Account tokens.
-
A non-matching id returns 404
Campaign not found.
Rate limit
- No rate limit.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
campaignId | integer | Required | Digits only. |
Query parameters
- Query:
group_by(string, optional) —day,week, ormonth; defaults today.daybuckets areY-m-d-labelled,weekbuckets are Mon–Sun ranges labelled likeAug 18-24, 2025,monthbuckets are labelled likeAug 2025. - Query:
limit(integer, optional, 1–7) — number of buckets ending atend_date; defaults to 7. - Query:
end_date(stringY-m-d, optional) — anchor for the most recent bucket; defaults to now end-of-day.
Response
data.data[].key(string) — the bucket label (date / week-range / month, pergroup_by).data.data[].email(int) — non-test rows delivered (delivered_at) in the bucket.data.data[].sms(int) — non-test rows delivered in the bucket.
200 Success · 200
200{ "data": { "status": "success", "data": [
{ "key": "2026-06-20", "email": 42, "sms": 37 },
{ "key": "2026-06-21", "email": 50, "sms": 31 }
] } }Errors
| Status | Meaning |
|---|---|
401 | The bearer token is missing, expired or invalid |
404 | No record matches the id you sent |
422 | The request failed validation — the response names the fields |
500 | Unexpected server error |
Example request
curl --request GET \
--url "https://production-api.shoutaboutus.com/api/v1/campaign/123/report/delivered-comparison" \
--header 'Authorization: Bearer <bearer-token>' \
--header 'Accept: application/json'Updated 10 days ago
Did this page help you?
