Skip to main content

myNotifications

Requires an authenticated session.

Lists the signed-in user's own notifications, newest first, one page at a time. A page holds at most 50.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query MyNotifications {
myNotifications {
nextCursor
items {
id
title
type
createdAt
body
entityId
}
}
}

Response:

{
"data": {
"myNotifications": {
"nextCursor": "string",
"items": [
{
"id": "id",
"title": "string",
"type": "string",
"createdAt": "2025-01-15T00:00:00Z",
"body": "string",
"entityId": "string"
}
]
}
}
}
myNotifications(
cursor: String
take: Int = 20
): UserNotificationPage!

Arguments​

myNotifications.cursor ● String scalar​

The cursor from the previous page. Omit it for the first page.

myNotifications.take ● Int scalar​

How many notifications to return. Defaults to 20 and is capped at 50.

Type​

UserNotificationPage object​

A page of notifications.