Emails
Get shop email stats
Returns shop-scoped 90-day email frequency stats and sparse UTC calendar counts for one requested month.
get/v1/shops/{shopId}/emails/stats
Request
- Base URL: https://api.trendtrack.io (the document declares no server; this is the origin it was published from)
- URL: https://api.trendtrack.io/v1/shops/{shopId}/emails/stats
- Auth: HTTP bearer
Path parameters
shopIdstring required
Example:3f8aa146-6f96-46e8-9781-64db5166f9a8
Stable public shop identifier.
Query parameters
monthstring required
Example:2026-04
Calendar month to aggregate, formatted as YYYY-MM.
Response
Shop email stats response. The response also includes the X-Request-Id header.
Example response
{
"requestId": "5d93d8de-0f6d-46a4-bd10-2e519b7e96bc",
"data": {
"last90Days": {
"totalEmails": 37,
"avgEmailsPerWeek": 2.8,
"emailsByDayOfWeek": {
"1": 4,
"3": 7
}
},
"calendar": {
"month": "2026-04",
"totalEmails": 12,
"emailsByDate": {
"2026-04-03": 2,
"2026-04-18": 1
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.