Webhooks
Announcement Events
LifeLoop emits announcement events — an announcement was sent to residents or connections. Webhook event fired when an announcement is sent to facility recipients. resourceId is the announcement ID — fetch the full announcement via GET /api/v1/{tenant}/announcements/{resourceId}.
Events
| Event type | Triggered when |
|---|---|
| announcement.sent | Fired when a staff member publishes and sends an announcement to facility recipients. |
What to do after receiving this event
- Check the
X-API-KEYheader. - Read
resourceIdfrom the payload — this is theannouncementId. - Call
GET /api/v1/{tenant}/announcements/{resourceId}to fetch the full object. - Update your local data store.
- Return
HTTP 200.
Sample payloadannouncement.sent.json
{
"eventType": "announcement.sent",
"aggregateType": "announcement",
"occurredAt": "2026-06-18T10:30:00Z",
"tenant": "sunrise-001",
"eventId": "f3a91bc2-4d12-4e88-a1c3-8f2901dd7c94",
"resourceId": "ann-001"
}Fetch the full objectbash
curl https://api.lifeloop.com/api/v1/sunrise-001/announcements/ann-001 \
-H "Authorization: Bearer YOUR_SERVICE_TOKEN" \
-H "X-Acting-User-Id: ACTING_USER_ID" \
-H "X-Acting-User-Tenant: sunrise-001"