Webhooks
Activity Events
LifeLoop emits an activity event whenever a facility calendar activity is created, changed, or deleted.
Events
| Event type | Triggered when |
|---|---|
| activity.created | A new activity is added to a facility calendar |
| activity.updated | An activity's details change (time, location, description, etc.) |
| activity.deleted | An activity is removed from a facility calendar |
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}to fetch the full object. - Update your local data store.
- Return
HTTP 200.
Sample payloadactivity.created.json
{
"eventId": "evt-a1b2c3d4-0000-0000-0000-000000000001",
"eventType": "activity.created",
"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 \
-H "Authorization: Bearer YOUR_SERVICE_TOKEN"