Webhooks

Facility Events

LifeLoop emits a facility event whenever a community is created or its details change. Use these events to keep your local facility roster in sync without polling.

Events

Event typeTriggered when
facility.createdA new facility is added to LifeLoop
facility.updatedA facility's details change (name, timezone, address, etc.)

What to do after receiving this event

  1. Verify the X-LifeLoop-Signature header.
  2. Read resourceId from the payload — this is the facilityId.
  3. Call GET /api/v1/{tenant}/facilities/{resourceId} to fetch the full object.
  4. Update your local data store.
  5. Return HTTP 200.
Sample payloadfacility.created.json
{
  "eventId": "evt-a1b2c3d4-0000-0000-0000-000000000001",
  "eventType": "facility.created",
  "tenant": "sunrise-001",
  "occurredAt": "2026-06-18T10:30:00Z",
  "resourceId": "fac-001"
}
Fetch the full objectbash
curl https://api.lifeloop.com/api/v1/sunrise-001/facilities/fac-001 \
  -H "Authorization: Bearer YOUR_SERVICE_TOKEN"