Webhooks
Resident Events
LifeLoop emits resident events — a resident record was created, updated, or removed. Webhook event for resident domain mutations. resourceId is the resident ID — fetch the resident via GET /api/v1/{tenant}/residents/{residentId}.
Events
| Event type | Triggered when |
|---|---|
| resident.created | Fired when a new resident is created in LifeLoop. |
| resident.updated | Fired when a resident record is updated in LifeLoop. |
| resident.deleted | Fired when a resident is soft-deleted in LifeLoop. |
What to do after receiving this event
- Check the
X-API-KEYheader. - Read
resourceIdfrom the payload — this is theresidentId. - Call
GET /api/v1/{tenant}/residents/{resourceId}to fetch the full object. - Update your local data store.
- Return
HTTP 200.
Sample payloadresident.created.json
{
"eventType": "resident.created",
"aggregateType": "resident",
"occurredAt": "2026-06-18T10:30:00Z",
"tenant": "sunrise-001",
"eventId": "f3a91bc2-4d12-4e88-a1c3-8f2901dd7c94",
"resourceId": "res-001"
}Fetch the full objectbash
curl https://api.lifeloop.com/api/v1/sunrise-001/residents/res-001 \
-H "Authorization: Bearer YOUR_SERVICE_TOKEN" \
-H "X-Acting-User-Id: ACTING_USER_ID" \
-H "X-Acting-User-Tenant: sunrise-001"