Events (Admin)
Participant counts (Admin)
GET
/manage/events/:eventId/entries/countsReturn registration counts by state and ticket. Requires the participantsRead permission.
| Auth | Login required |
|---|
Path parameters
eventIdstringrequiredEvent ID or slug.
Response
| Field | Type | Description |
|---|---|---|
total | number | Total number of registrations. |
byState | Record<string, number> | Counts per entry state. |
byTicket | TicketEntryCount[] | Counts per ticket type. |
Request
curl https://api.4s.link/manage/events/EVENT_ID/entries/counts \-H "Authorization: Bearer 4s_at_..."
Example response
{"total": 320,"byState": { "UNUSED": 280, "CHECKED_IN": 30, "CANCELED": 10 },"byTicket": [{ "ticketId": "t1a2b3c4-...", "name": "一般チケット", "count": 300 }]}