REST API

Notifications API

Read and manage in-app notifications.

Generated from the Celerp 2.4.0 OpenAPI schema, 16 September 2026.

GET /notifications

List Notifications

List notifications for the current user, newest first.

Parameters

NameInRequiredTypeDescription
limitquery--integer--
offsetquery--integer--
unread_onlyquery--boolean--

Responses

StatusDescriptionBody
200Successful ResponseNotificationList
422Validation ErrorHTTPValidationError

Example

curl -X GET http://localhost:8000/notifications \
  -H "Authorization: Bearer $TOKEN"

POST /notifications/read-all

Mark All Read

Mark all notifications as read for the current user.

Responses

StatusDescriptionBody
204Successful Response--

Example

curl -X POST http://localhost:8000/notifications/read-all \
  -H "Authorization: Bearer $TOKEN"

POST /notifications/{notification_id}/read

Mark Read

Mark a single notification as read.

Parameters

NameInRequiredTypeDescription
notification_idpathyesstring--

Responses

StatusDescriptionBody
204Successful Response--
422Validation ErrorHTTPValidationError

Example

curl -X POST http://localhost:8000/notifications/:notification_id/read \
  -H "Authorization: Bearer $TOKEN"