Events (Admin)
Registration trend (Admin)
GET
/manage/events/:eventId/dashboard/participants-trendReturn the registration trend over a period. `data` holds per-bucket counts by state, and `total` is the cumulative number of confirmed registrations (CONFIRMED / CHECKED_IN). Requires the participantsRead permission.
| Auth | Login required |
|---|
Path parameters
eventIdstringrequiredEvent ID or slug.
Query parameters
rangestringoptionalPeriod to aggregate: one of 1h / 3h / 6h / 24h / 3d / 7d / 30d / 90d. Default 30d.
granularitystringoptionalBucket granularity: minute, hour or day. Derived from `range` when omitted.
Response
| Field | Type | Description |
|---|---|---|
dates | string[] | Start time of each bucket (ISO 8601). |
data | Record<string, number[]> | Per-bucket counts, keyed by entry state. |
total | number[] | Cumulative confirmed registrations at each bucket. |
Request
curl https://api.4s.link/manage/events/EVENT_ID/dashboard/participants-trend \-H "Authorization: Bearer 4s_at_..."
Example response
{"dates": ["2026-08-30T00:00:00.000Z", "2026-08-31T00:00:00.000Z"],"data": {"UNUSED": [0, 0],"PENDING": [2, 1],"AWAITING_PAYMENT": [0, 0],"CONFIRMED": [8, 12],"REJECTED": [0, 0],"CHECKED_IN": [0, 0],"CANCELED": [1, 0]},"total": [120, 132],"range": "30d","granularity": "day"}