Webhooks

Activity Events

LifeLoop emits an activity event whenever a facility calendar activity is created, changed, or deleted.

Events

Event typeTriggered when
activity.createdA new activity is added to a facility calendar
activity.updatedAn activity's details change (time, location, description, etc.)
activity.deletedAn activity is removed from a facility calendar

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} to fetch the full object.
  4. Update your local data store.
  5. 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"