Webhooks

Photo Events

LifeLoop emits a photo event whenever a photo is uploaded to — or removed from — a facility activity.

Events

Event typeTriggered when
photo.uploadedA photo is uploaded to an activity
photo.deletedA photo is removed from an activity

What to do after receiving this event

  1. Verify the X-LifeLoop-Signature header.
  2. Read resourceId from the payload — this is the activityId.
  3. Call GET /api/v1/{tenant}/activities/{resourceId}/photos to fetch the full object.
  4. Update your local data store.
  5. Return HTTP 200.

Note: For photo events, resourceId is the activityId — fetch the full photo list to see what changed.

Sample payloadphoto.uploaded.json
{
  "eventId": "evt-a1b2c3d4-0000-0000-0000-000000000001",
  "eventType": "photo.uploaded",
  "tenant": "sunrise-001",
  "occurredAt": "2026-06-18T10:30:00Z",
  "resourceId": "act-001"
}
Fetch the full objectbash
curl https://api.lifeloop.com/api/v1/sunrise-001/activities/act-001/photos \
  -H "Authorization: Bearer YOUR_SERVICE_TOKEN"