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