metrics
Query subscriber statistics
Changed onAggregate list growth for SMS and email: subscribe and unsubscribe events per bucket, net change, the active subscriber count at each bucket's end, and optionally the acquisition method (and raw consent source) behind the subscribes. The same readers as the dashboard's List Growth page. Buckets are UTC days, Monday weeks or calendar months; timezone is always UTC. Without channel in group_by, two channels are read as one combined list (channel: all). A query is not a mutation and takes no Idempotency-Key.
post/subscriber-stats
Request
- Base URLhttps://api.pscrpt.com/v1
- URLhttps://api.pscrpt.com/v1/subscriber-stats
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://api.pscrpt.com/oauth/authorizeToken URL: https://api.pscrpt.com/oauth/token scopes: metrics:read
Headers
Postscript-Versionstring date
Example:2026-07-23
Overrides the key's pinned API revision for this request.
Request body
Example request
{
"timeframe": {
"gte": "2026-07-23T17:32:01.123456Z",
"lte": "2026-07-23T17:32:01.123456Z"
}
}Response
Per-bucket subscriber flows and active counts, optional source breakdown, and window totals.
Example response
{
"data": {
"series": [
{
"bucket_start": "2026-07-23T17:32:01.123456Z"
}
],
"sources": [
{
"bucket_start": "2026-07-23T17:32:01.123456Z",
"method": "checkout"
}
],
"timeframe": {
"gte": "2026-07-23T17:32:01.123456Z",
"lte": "2026-07-23T17:32:01.123456Z"
}
}
}Changes
- info
endpoint added
- info