Notification Service API
Auto-generated from NestJS controller decorators. Last synced: 2026-03-15
Base path: /api
Endpoints: 17
Health
Liveness probe
GET
/healthReadiness probe
GET
/readyNotifications
Send notification (service-to-service only)
POST
/notifications/sendBearer tokenRequest Body: CreateNotificationDto
tenantIdstringRequired—
userIdstringRequired—
typeNotificationTypeRequired—
eventTypestringRequired—
subjectstringRequired—
bodystringRequired—
metadataRecordstring, unknown—
emailTostring—
List notifications for current user (paginated)
GET
/notificationsBearer tokenpagenumberquery parameter
limitnumberquery parameter
Get unread notification count
GET
/notifications/unreadBearer tokenMark a notification as read
PATCH
/notifications/:id/readBearer tokenidstringRequiredpath parameter
Mark all notifications as read
PATCH
/notifications/read-allBearer tokenDelete a notification
DELETE
/notifications/:idBearer tokenidstringRequiredpath parameter
Preferences
List notification preferences for current user
GET
/notifications/preferencesBearer tokenUpdate notification preference for an event type
PUT
/notifications/preferences/:eventTypeBearer tokeneventTypestringRequiredpath parameter
Request Body: UpdatePreferenceInput
emailEnabledboolean—
inAppEnabledboolean—
Templates
List all email templates
GET
/templatesBearer tokencategorystringquery parameter
activestringquery parameter
Get branding for current tenant
GET
/templates/branding/currentBearer tokenUpdate branding for current tenant
PUT
/templates/branding/currentBearer tokenRequest Body: UpdateBrandingDto
logoUrlstring—
primaryColorstring—
secondaryColorstring—
footerTextstring—
replyToAddressstring—
companyNamestring—
Get a specific email template
GET
/templates/:idBearer tokenidstringRequiredpath parameter
Update an email template
PUT
/templates/:idBearer tokenidstringRequiredpath parameter
Render a Handlebars template preview
POST
/templates/previewBearer tokenSend a test email for a template
POST
/templates/:id/send-testBearer tokenidstringRequiredpath parameter
Request Body: SendTestEmailDto
toEmailstringRequired—
variablesRecordstring, unknown—