Notifications API
Endpoints
GET /api/v1/notifications
POST /api/v1/notifications/:id/read
PATCH /api/v1/notification-preferencesNotifications
User and system notifications covering match offers, booking confirmations, journey status, contributions and safety messages.
Delivery is in-app, push and email, with per-category preferences. See Notifications architecture.
Delivery safety
Notification delivery is idempotent. Retrying a delivery must not produce a duplicate message, which is what makes a repeated dispatch during an incident tolerable rather than harmful.
Notifications must not leak journey information to an unauthorised device. A notification carries the minimum needed to prompt a check in the app; the detail lives behind an authenticated call.
A push notification for a completed journey reveals to anyone holding the device that a shared journey occurred. Contents are therefore generic, and the location and counterpart identity are never in the notification body.
