Send a custom notification
Use thedispatchNotification mutation to send custom notifications:
userId: The ID of the user you want to send the notification to.notificationType: The type of notification to dispatch. In this example,WARNINGsignifies a critical notification.description: A brief description of the notification’s content.title: The title of the notification, displayed in the toast notification.linkText: The text displayed as the link in the notification page, directing users to further details or actions.path: The URL path users go to when they click either the toast notification or the notification in the application.
Notification types
ION supports the following notification types:EXTERNAL(blue): Notifications originating from external systems, typically used for general updates.SIGNOFF(yellow): Notifications requiring user attention or signoff.WARNING(red): A critical event the user should be aware of.