User Notifications Using REST API



On This Page

Overview

User notifications allow you to send notifications to a user based on subscribed events. User notifications are dependent on the user account setup; the groups and roles assigned to the user determine what connectors and jobs the user can receive notifications for from DryvIQ. Only connectors and jobs a user has access to based on the user setup will trigger notifications. Notifications can be added to an existing user account or added when creating a new user account.

List Details for All Users

Execute a GET to retrieve details for all users, specifically user ID.

GET {{url}}v1/users?fields=all


Example Response

{ "id": "2f4543e407724398b38ec783a1e95574", "login": "user1", "name": "user1", "roles": [], "permissions": [ { "id": "47c6cd5954f041df8d79e1972cc1ce3b", "name": "List Connections" }, { "id": "294eee9539354739b194da1a879bc163", "name": "Manage Connections" } ], "status": "active", "disabled": false, "notifications": { "emails": true, "sms": false, "notification_types": [ "license-expired", "job-completed" ] }, "created_on": 1577119682.0, "created_by": "21d58cf305c3467da0e6753d1b8863be", "type": "user" } ] }

 

List Available Categories Types

The following GET lists all the available notification categories.

GET {{url}}v1/notifications/types


Example Response

 

Change Notifications a User Receives

This PATCH updates the current notification configuration to add or remove notification types a user receives.


Example Request Body

 

 

DryvIQ Migrate Version: 5.9.2
Release Date: December 17, 2024