Skip to main content

myNotifications

Retrieves in-app notifications for the current user.

Authentication

Authentication is required. Unauthenticated requests will fail.

Filtering

Results can be filtered by read status, category, and kind. By default, all notifications (read and unread) are returned.

Sorting

Results are sorted by creation date in descending order (newest first).

myNotifications(
after: String
before: String
filters: NotificationFilterInput
first: Int
last: Int
): InAppNotificationConnection!

Arguments

myNotifications.after ● String scalar common

Returns the elements in the list that come after the specified cursor.

myNotifications.before ● String scalar common

Returns the elements in the list that come before the specified cursor.

myNotifications.filters ● NotificationFilterInput input common

Filter criteria to narrow down notification results

myNotifications.first ● Int scalar common

Returns the first _n_ elements from the list.

myNotifications.last ● Int scalar common

Returns the last _n_ elements from the list.

Type

InAppNotificationConnection object common

The connection type for InAppNotification.