Skip to content
ExportlabDocs

Import persons (bulk)

Creates multiple persons for a gallery in a single request.

On this pagePOST /group-shoot/checkin/{token}/persons

POST /group-shoot/checkin/{token}/persons

Creates multiple persons for a group shoot gallery in a single request. Designed for HR/CRM systems that need to pre-populate participants before the photo session.

Each person gets a unique 4-character access code automatically. Up to 500 persons per request.

Path parameterTypeDescription
tokenstringThe gallery token
FieldTypeRequiredDescription
personsarrayYesList of persons to import (max 500)
persons[].namestringYesFull name (1–200 chars)
persons[].emailstringNoEmail address (max 200 chars)
persons[].employeeIdstringNoHR system employee ID (max 100 chars)
persons[].shootingDayIdstringNoShooting day ID from GET /days. Invalid IDs are silently ignored
Response fieldTypeDescription
importednumberNumber of persons successfully created
skippednumberNumber of rows skipped due to validation errors
personsarrayCreated persons with their generated code and personId
skippedDetailsarrayOnly present when skipped > 0 — lists index and reason for each skipped row

Request body

JSON
{
  "persons": [
    { "name": "Max Mustermann", "email": "max@example.com", "employeeId": "EMP-001", "shootingDayId": "abc12345" },
    { "name": "Erika Musterfrau", "employeeId": "EMP-002" },
    { "name": "John Doe" }
  ]
}

cURL

cURL
curl -X POST "https://api.exportlab.io/v1/group-shoot/checkin/{TOKEN}/persons" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "X-Tenant-Slug: YOUR_TENANT" \
  -H "Content-Type: application/json" \
  -d '{
    "persons": [
      { "name": "Max Mustermann", "email": "max@example.com", "employeeId": "EMP-001" },
      { "name": "Erika Musterfrau", "employeeId": "EMP-002" }
    ]
  }'

Response

JSON
{
  "ok": true,
  "requestId": "c3d4e5f6-...",
  "galleryToken": "iURWUkHo",
  "imported": 2,
  "skipped": 0,
  "persons": [
    { "personId": "mZTZBszq", "name": "Max Mustermann", "email": "max@example.com", "employeeId": "EMP-001", "shootingDayId": "abc12345", "code": "LWR7" },
    { "personId": "nXaYcTdr", "name": "Erika Musterfrau", "email": null, "employeeId": "EMP-002", "shootingDayId": null, "code": "KP3M" }
  ]
}
Was this page helpful?

Your feedback helps improve this guide.

Exportlab Docs

Matching articles

PhotographySell photo packages at Group Shoot check-inCreate prepaid Group Shoot packages, connect Stripe and track each participant's payment status.PhotographyFind a person's photos with Face RecognitionIndex gallery photos, select a detected face and find matching images without scrolling through the full gallery.PhotographySearch a gallery with Smart DiscoveryCreate AI captions and tags for photos so clients can search a gallery by subject, scene or mood.PhotographyReview gallery photos with Swipe ModeOpen gallery photos one by one and swipe to keep or skip each image during a focused review.PhotographyShare selected photos with a Share LinkCreate a separate link for a selected group of photos with its own PIN and download permission.PhotographyNotify visitors when a gallery is publishedCollect email subscriptions before a gallery is ready and notify those visitors when you publish it.PhotographyDownload photos from a client galleryDownload one photo or a complete gallery in an available quality while respecting the owner's permissions.PhotographyCreate and share a client galleryUpload your photos, prepare the gallery and check the client experience before sending the link.PhotographyProtect a gallery and control downloadsSet a four-digit PIN and decide how clients can download your photos.PhotographyLet clients select their photosUse a Collaborative gallery to collect selections before publishing the final images.PhotographySet up a Group Shoot and check in participantsPrepare a session with individual participant access instead of one shared gallery link.VideographyTrack video versions and review statusUse the video project overview to check processing, versions, feedback and the current review state.VideographyChoose the right video review modeChoose timestamped Frame Mode, simple Easy Mode or a view-only share mode for each client review.VideographyConfigure video access, feedback and downloadsSet the thumbnail, four-digit PIN, review mode, watermark and download behavior before sharing a video.VideographyShare a video and work through feedbackSend a review link, collect comments at specific moments and track revisions.