Statistics
Statistics time series
GET
Messages and dispatch outcomes per UTC hour or day; empty buckets included.
Required permission: messages.read. See the guide for details.
Error codes:
- 400
validation.failed
Every endpoint can also answer 401 (missing or invalid key), 403 (route outside the key's project or permission) and 429 rate_limit.exceeded.
ApiKeyheader
X-Api-Key<token>Project API key: nb_<prefix>_<secret>.
companyId*stringId of the company that owns the project (shown with the API key in the dashboard).
Format
uuidprojectId*stringId of the project the API key belongs to.
Format
uuidfrom?stringInclusive start (ISO 8601). Default: 7 days before to. Range up to 366 days.
Format
date-timeto?stringExclusive end (ISO 8601). Default: now.
Format
date-timeinterval?unknownBucket size: Hour (range up to 31 days) or Day (default).
Value in
"Hour""Day"OK
application/json- response
from*stringFormat
date-timeto*stringFormat
date-timeinterval*StatsIntervalValue in
"Hour""Day"buckets*array<>curl -X GET 'https://api.gbnotification.dokploy.geobilgi.net/api/v1/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/stats/timeseries'Example Response
{ "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z", "interval": "Hour", "buckets": [ { "start": "2019-08-24T14:15:22Z", "messages": 0, "sent": 0, "delivered": 0, "failed": 0, "inFlight": 0 } ]}