HTTP reference

API — In-app notifications

Route Handlers under src/app/api. Non-public routes expect a Supabase session cookie. Admin routes also require profiles.role = admin.

PublicCallable without a session where the handler allows it.Signed inRequires a signed-in user.AdminAdmin role on your profile.

Back to API overview

MethodsPathAccessSummary
GET/api/notificationsSigned inList notifications for the current user.
POST/api/notifications/mark-readSigned inMark one or all notifications as read.