Public announcements
In-app modals already sent for a city and CMS app (up to 20).
SDK: client.public.announcements.listForCity(cityId, appId)
GET /public/announcements?cityId={cityId}&appId={appId}
cityId and appId are required. Response:
[
{
"id": "uuid",
"title": "Collection delayed",
"body": "Due to a public holiday…",
"sentAt": "2026-08-01T08:00:00.000Z",
"imageUrl": "https://api.wast-o.com/public/cms/media/…/file",
"redirectHref": "/(tabs)/calendrier"
}
]
redirectHref is optional (Expo Router page). In the app: Open button on the modal; on push notification tap, navigate via data.href.
Geographic targeting: city, city group, or zone. App targeting: all apps or one app (cmsAppId). Creation is done in the Announcements console.