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 type | Triggered when |
|---|---|
| facility.created | A new facility is added to LifeLoop |
| facility.updated | A facility's details change (name, timezone, address, etc.) |
What to do after receiving this event
- Verify the
X-LifeLoop-Signatureheader. - Read
resourceIdfrom the payload — this is thefacilityId. - Call
GET /api/v1/{tenant}/facilities/{resourceId}to fetch the full object. - Update your local data store.
- 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"