Skip to main content

inAppNotification

Retrieves a single in-app notification by ID.

Authentication

Authentication is required. Unauthenticated requests will fail.

Authorization

Users can access their own notifications and the notifications of the company in the current context. Accessing any other notification will result in an authorization error.

Possible Errors

  • Authentication error if not logged in
  • NotificationNotFoundError if the notification does not exist
  • NotAuthorizedError if the notification is neither the user's nor the current company's
inAppNotification(
id: ID!
): InAppNotification

Arguments

inAppNotification.id ● ID! non-null scalar common

The notification ID

Type

InAppNotification object common

An in-app notification for a user.