Get gallery stats

Returns aggregated stats for a group shoot gallery.

Written by Exportlab · Updated March 2026

GET /group-shoot/checkin/{token}/stats

Returns aggregated statistics for a group shoot gallery, useful for dashboards, progress tracking, or reporting.

bash
Copied
curl -X GET "https://api.exportlab.io/v1/group-shoot/checkin/{TOKEN}/stats" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "X-Tenant-Slug: YOUR_TENANT"
json
Copied
{
  "ok": true,
  "requestId": "a1b2c3d4-...",
  "galleryToken": "iURWUkHo",
  "totalPersons": 250,
  "checkedInCount": 187,
  "checkInRate": 74.8,
  "personsWithPhotos": 156,
  "personsWithoutPhotos": 31,
  "uniquePhotosAssigned": 468,
  "totalAssignments": 512,
  "personsWithFavorites": 89,
  "totalFavorites": 102,
  "byShootingDay": [
    {
      "shootingDayId": "abc12345",
      "date": "2026-04-10",
      "label": "Team A – Morning",
      "totalPersons": 45,
      "checkedInCount": 30,
      "personsWithPhotos": 28
    }
  ],
  "unassignedPersonsCount": 10
}
Path parameterTypeDescription
tokenstringThe gallery token
Response fieldTypeDescription
totalPersonsnumberTotal number of persons registered for this gallery
checkedInCountnumberPersons who checked in via the self-service form
checkInRatenumberPercentage of persons checked in (0–100, one decimal)
personsWithPhotosnumberPersons with at least one assigned photo
personsWithoutPhotosnumberPersons with no photos assigned yet
uniquePhotosAssignednumberNumber of unique photos assigned across all persons
totalAssignmentsnumberTotal photo-person assignments
personsWithFavoritesnumberPersons who have at least one favorite photo set
totalFavoritesnumberTotal number of favorite photo marks across all persons
byShootingDayarrayPer-day breakdown. Empty array if no shooting days are configured
byShootingDay[].shootingDayIdstringShooting day ID
byShootingDay[].datestringDate in YYYY-MM-DD format
byShootingDay[].labelstring | nullDay label, or null if not set
byShootingDay[].totalPersonsnumberPersons assigned to this day
byShootingDay[].checkedInCountnumberPersons for this day who checked in
byShootingDay[].personsWithPhotosnumberPersons for this day with at least one photo
unassignedPersonsCountnumberPersons not assigned to any shooting day (only present when gallery has shooting days)