Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Notifications

post

Mark a notification as seen

Authorizations
Path parameters
notificationIdstringRequiredExample: 64f8a0e2d5b7c9a1e3f4a5b6
Responses
200

OK

application/json

Employee notification: id, title, image, date, seen, target type, and target id.

idstringOptional

Notification identifier

Example: 64f8a0e2d5b7c9a1e3f4a5b6
titlestringOptional

Notification title

imagePathstringOptional

URL or path to the notification image

datestring · date-timeOptional

Date and time of the notification

seenbooleanOptional

Whether the notification has been seen

targetTypestring · enumOptional

Type of target this notification refers to

Possible values:
targetIdstringOptional

ID of the target (comment, conversation, announcement, etc.)

Example: 64f8a0e2d5b7c9a1e3f4a5b6
post/api/v1/employee/notifications/{employeeId}/viewed/{notificationId}
POST /api/v1/employee/notifications/{employeeId}/viewed/{notificationId} HTTP/1.1
Host: api.happyforce.com
Accept: */*
200

OK

{
  "id": "64f8a0e2d5b7c9a1e3f4a5b6",
  "title": "text",
  "imagePath": "text",
  "date": "2026-01-01T00:00:00.000Z",
  "seen": true,
  "targetType": "COMMENT",
  "targetId": "64f8a0e2d5b7c9a1e3f4a5b6"
}
post

Resets the number of new notifications

Authorizations
Responses
200

OK

application/json

Total count of notifications for the employee.

countinteger · int32Optional

Number of notifications

post/api/v1/employee/notifications/{employeeId}/count/reset
POST /api/v1/employee/notifications/{employeeId}/count/reset HTTP/1.1
Host: api.happyforce.com
Accept: */*
200

OK

{
  "count": 1
}
get

Lists all the notifications of the logged employee

Authorizations
Query parameters
frominteger · int32OptionalDefault: 0
tointeger · int32OptionalDefault: 10
Responses
200

OK

application/json
frominteger · int32Optional
tointeger · int32Optional
totalinteger · int32Optional
noContentbooleanOptional
get/api/v1/employee/notifications/{employeeId}
GET /api/v1/employee/notifications/{employeeId} HTTP/1.1
Host: api.happyforce.com
Accept: */*
200

OK

{
  "from": 1,
  "to": 1,
  "total": 1,
  "noContent": true,
  "results": [
    {
      "id": "64f8a0e2d5b7c9a1e3f4a5b6",
      "title": "text",
      "imagePath": "text",
      "date": "2026-01-01T00:00:00.000Z",
      "seen": true,
      "targetType": "COMMENT",
      "targetId": "64f8a0e2d5b7c9a1e3f4a5b6"
    }
  ]
}
get

Get the number of new notifications since las visit

Authorizations
Responses
200

OK

application/json

Total count of notifications for the employee.

countinteger · int32Optional

Number of notifications

get/api/v1/employee/notifications/{employeeId}/count/new
GET /api/v1/employee/notifications/{employeeId}/count/new HTTP/1.1
Host: api.happyforce.com
Accept: */*
200

OK

{
  "count": 1
}

Last updated