Notifications

List unread in-app notifications for the authenticated user

Changed on

GET /notifications/unread/ — unread in-app notifications for the current user.

Uses the native vintasend NotificationService.get_in_app_unread(user_id, page, page_size) which returns an Iterable of vintasend Notification dataclasses (not an ORM queryset). Count comes from get_in_app_unread_count(user_id). Passthrough pagination: the caller controls page + page_size.

get/notifications/unread{format}

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sessionid

Path parameters

format'.json' required

Query parameters

pageinteger

Page number (1-based). Defaults to 1.

page_sizeinteger

Number of items per page. Defaults to 10.

Response

Passthrough-paginated list of unread notifications. Envelope: {results: [...], page: int, page_size: int, count: int}. count reflects the total number of unread notifications for the user.

Changes