Skip to main content

markNotificationsAsUnread

Marks notifications as unread for the current user, scoped to the company in context.

This is an asynchronous operation that returns immediately with a process_id that can be used to track the operation status.

Authentication and Authorization​

Authentication is required. Users can only mark their own notifications as unread.

Business Rules​

  • notificationIds is required and must contain at least one ID
  • Only notifications that are currently read will be affected

Possible Errors​

  • **Validation error**: notificationIds was not provided or empty
  • **Authorization error**: Attempting to mark a notification that belongs to another user
markNotificationsAsUnread(
input: MarkNotificationsAsUnreadInput!
): AsynchronousActionResponse!

Arguments​

markNotificationsAsUnread.input ● MarkNotificationsAsUnreadInput! non-null input common​

Parameters for MarkNotificationsAsUnread

Type​

AsynchronousActionResponse object common​

Asynchronous action response type