Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • API, CLI, and SDK Documentation
  • REST API Documentation
  • Administration Tools and Settings Using REST API
  • SMTP Server Configuration Using REST API

Sending a Test Email Notification Using REST API

Learn how to send a test notification using the REST API.

Written by Andrea Harvey

Updated at April 28th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Insights
    Prebuilt Insights Custom Insights
  • Content
  • Accounts
  • Activity Log
  • Content Scans
  • Migrations
    Migration Jobs Migration Reports Maps Flagged Items Migration Tools
  • Connections
    Supported Platform Connections Creating Connections Connection Maintenance Connection Pools
  • Entity Types
    DryvIQ Available Entity Types Custom Entity Types Entity Type Maintenance
  • Action Sets
    Creating Action Sets Action Sets Maintenance
  • Settings
    License Performance Notifications Extensions Entity Types Settings Display Settings Configuration
  • API, CLI, and SDK Documentation
    REST API Documentation Command-line Interface SDK Development
  • POC Offering
  • Release Notes
+ More

Table of Contents

Overview Send a Test Notification Example Request Body List Available Categories Types Example Response

Overview

You can trigger a test email notification using the REST API to review what recipients will see when an email notification is delivered. Sending a test notification is not dependent on having configured a notification policy. Use the following JSON to configure your REST API message.

Send a Test Notification

This request will not persist; it is a one-time use request.

POST {{url}}v1/notifications/test

Example Request Body

{
    "handler":"email",
    "notification":"connection-failed",
    "targets":[
        "email@somecompany.com",
        "person@somecompany.com"
    ]
}
Name Value
Handler

This string identifies the handler that should generate the test notification message. In this test, the value should be “email.”

 

Notification

This string identifies the notification category that should be used for the message. Valid notification values are listed below.

  • “connection-failed”
  • “product-upgrade-available”
  • “license-expired”
  • “license-expiration-warning”
  • “job-failed”
  • “job-completed”
Targets This string identifies the recipient information that should be used for the notification. In this test, include the email address to which you want to send the test message. When including multiple email addresses, use a comma to separate each address, but do not add a comma after the last email address.

List Available Categories Types

The following GET lists all the available notification categories.

GET {{url}}v1/notifications/types

Example Response

{
   "status": 200,
   "type": "notification_types",
   "notification_types": [
       {
           "id": "connection-failed",
           "name": "Connection failed",
           "description": "Receive a notification whenever a connection fails to open."
       },
       {
           "id": "product-upgrade-available",
           "name": "Upgrade available",
           "description": "Receive a notification when a new version of the software is available."
       },
       {
           "id": "license-expired",
           "name": "License has expired",
           "description": "Receive a notification when your license has expired."
       },
       {
           "id": "license-expiration-warning",
           "name": "License expiry approaching",
           "description": "Receive a notification when your license will expire soon."
       },
       {
           "id": "job-failed",
           "name": "Job failed",
           "description": "Receive a notification whenever a job fails."
       },
       {
           "id": "job-completed",
           "name": "Job completed",
           "description": "Receive a notification whenever a job meets its stop policy."
       }
   ]
} 

 

rest api test email

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Adding a Notification Recipient Using REST API
  • Configuring the SMTP Server Using REST API
  • DryvIQ Platform REST API Documentation

Copyright 2025 – DryvIQ, Inc.

Knowledge Base Software powered by Helpjuice

Expand