Employee Notification Endpoints
Manage employee notification preferences and settings.
Base Pathβ
/api/employee-notification-setting
Endpointsβ
Get Notification Settingsβ
GET /api/employee-notification-setting
Authorization: Bearer {token}
Response:
{
"assignTask": true,
"teams": true,
"mention": true,
"submit": true,
"approval": true,
"email": false,
"push": true,
"inApp": true
}
Update Notification Settingsβ
PUT /api/employee-notification-setting/:id
Authorization: Bearer {token}
{
"assignTask": true,
"teams": true,
"mention": true,
"submit": true,
"approval": true,
"email": true,
"push": true,
"inApp": true
}
Notification Eventsβ
| Event | Description | Channels |
|---|---|---|
assignTask | Task assigned to employee | All |
teams | Team updates | In-app |
mention | @mentioned in comment | All |
submit | Timesheet submitted | |
approval | Timesheet approved/denied | All |
Related Pagesβ
- Notification System β feature guide
- Employee Endpoints β employee API
- Real-Time Updates β WebSocket