/v1/workspaces/{workspace_id}/statsAuthGet Notify stats
Daily delivery counts per channel for a range of UTC days (default the last 30, at most 90): planned, sent, delivered, failed, skipped, and inbox items read. Counted by the day a delivery was planned, from an hourly rollup: today and yesterday are refreshed every hour, so the newest counts can be up to an hour old (`updated_at`). Kept beyond the 30 days that delivery history is kept.
Path parameters
workspace_id*string · uuidId of the workspace.
Query parameters
fromstring · dateFirst UTC day (inclusive). Default: 29 days before `to`.
tostring · dateLast UTC day (inclusive). Default: today. At most 90 days after `from`.
Response · 200 The stats.
from*string · dateFirst day of the range.
Example: "2026-11-01"
to*string · dateLast day of the range.
Example: "2026-11-10"
data*arrayOne row per day and channel that had deliveries, oldest first. Days without deliveries are absent.
totals*objectThe range summed over every day and channel.
updated_at*string · date-timeWhen the rollup last wrote this range (it runs hourly; today and yesterday are refreshed each time). Null when nothing was rolled up yet.
Example: "2026-11-10T09:05:00.000Z"
Example
Request
GET https://api.notify.productcraft.co/v1/workspaces/{workspace_id}/stats
Authorization: Bearer YOUR_TOKENResponse
{
"from": "2026-11-01",
"to": "2026-11-10",
"data": [
{
"accepted": 120,
"sent": 96,
"delivered": 40,
"failed": 2,
"skipped": 22,
"read": 18,
"day": "2026-11-10",
"channel": "push"
}
],
"totals": {},
"updated_at": "2026-11-10T09:05:00.000Z"
}