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 typeTriggered when
announcement.sentFired when a staff member publishes and sends an announcement to facility recipients.

What to do after receiving this event

  1. Check the X-API-KEY header.
  2. Read resourceId from the payload — this is the announcementId.
  3. Call GET /api/v1/{tenant}/announcements/{resourceId} to fetch the full object.
  4. Update your local data store.
  5. 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"