inAppNotification
Retrieves a single in-app notification by ID.
Authentication
Authentication is required. Unauthenticated requests will fail.
Authorization
Users can only access their own notifications. Attempting to access another user's 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 belongs to another user
inAppNotification(
id: ID!
): InAppNotification
Arguments
inAppNotification.id ● ID! non-null scalar
The notification ID
Type
InAppNotification object
An in-app notification for a user.