# Employee Notification Endpoints {#employee-notification-endpoints}


Manage employee notification preferences and settings.


## Base Path {#base-path}


```
/api/employee-notification-setting
```


## Endpoints {#endpoints}



### Get Notification Settings {#get-notification-settings}


```
GET /api/employee-notification-setting
Authorization: Bearer {token}
```

**Response:**

```json
{
  "assignTask": true,
  "teams": true,
  "mention": true,
  "submit": true,
  "approval": true,
  "email": false,
  "push": true,
  "inApp": true
}
```


### Update Notification Settings {#update-notification-settings}


```
PUT /api/employee-notification-setting/:id
Authorization: Bearer {token}
```

```json
{
  "assignTask": true,
  "teams": true,
  "mention": true,
  "submit": true,
  "approval": true,
  "email": true,
  "push": true,
  "inApp": true
}
```


## Notification Events {#notification-events}


| Event        | Description               | Channels |
| ------------ | ------------------------- | -------- |
| `assignTask` | Task assigned to employee | All      |
| `teams`      | Team updates              | In-app   |
| `mention`    | @mentioned in comment     | All      |
| `submit`     | Timesheet submitted       | Email    |
| `approval`   | Timesheet approved/denied | All      |


## Related Pages {#related-pages}


- [Notification System](https://sourcey-gauzy.pages.dev/features/notification-system/index.md) — feature guide
- [Employee Endpoints](https://sourcey-gauzy.pages.dev/api/employee-endpoints/index.md) — employee API
- [Real-Time Updates](https://sourcey-gauzy.pages.dev/frontend/real-time-updates/index.md) — WebSocket
