Add Email Recipient Using REST API



On This Page

Overview

Adding email recipients allows you to set global notifications that will trigger email messages whenever a subscribed event occurs. Because the notifications set here are global, they are not linked to a user, so notifications are not restricted to user-defined accounts, jobs, etc. This means you can send notifications to a user who does not have a DryvIQ account. For example, your Office Administrator or Billing Department may not have user accounts in DryvIQ, but you can add the corresponding email address to receive notifications regarding your DryvIQ license expiration so they can ensure proper renewal and payment as needed.

GET Current Notification Details | Global Notifications

This GET list all details for the current global notification configuration.

GET {{url}}v1/notifications/

 

Example Response

{ "status": 200, "meta": { "links": { "self": { "href": "https://localhost:9090/v1/notifications/" } }, "offset": 0, "limit": 100, "has_more": false }, "type": "notifications", "notifications": [ { "id": "d8bfbb536df94a8089fab3d31654ebfa", "recipient": "person@company.com", "handler": "email", "notification_types": [ "job-completed" ], "kind": "email", "type": "notification" } ] }

 

List Available Categories Types

This GET lists all the available notification categories.

GET {{url}}v1/notifications/types

 

Example Response

 

Add New Email Recipient | Global Notifications

This POST adds a new email recipient to the global notifications configuration.

 

Example Request Body

 

 

 

DryvIQ Migrate Version: 5.6.3.4210
Release Date: April 4, 2024