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

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

myNotifications.before ● String scalar

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

myNotifications.filters ● NotificationFilterInput input

Filter criteria to narrow down notification results

myNotifications.first ● Int scalar

Returns the first _n_ elements from the list.

myNotifications.last ● Int scalar

Returns the last _n_ elements from the list.

Type

InAppNotificationConnection object

The connection type for InAppNotification.