Webhooks
Photo Events
LifeLoop emits a photo event whenever a photo is uploaded to — or removed from — a facility activity.
Events
| Event type | Triggered when |
|---|---|
| photo.uploaded | A photo is uploaded to an activity |
| photo.deleted | A photo is removed from an activity |
What to do after receiving this event
- Verify the
X-LifeLoop-Signatureheader. - Read
resourceIdfrom the payload — this is theactivityId. - Call
GET /api/v1/{tenant}/activities/{resourceId}/photosto fetch the full object. - Update your local data store.
- 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"