Send notification to users (USR)

Send notification to users (USR)

POST {{baseURL}}/tool/organizations/{{orgId}}/notifications

Target specific users to send a notification to.

Headers

Name
Value

Authorization

Bearer <token>

Bearer Token - format: BEARER XXXXXXXXXXXXXX

Body

Configure the following properties in the JSON body:

Name
Type
Description

title

string

Title of the notification.

text

string

Notification message.

scope

string

"USR" for individual users.

emails

string

List users' email addresses using a comma-delimited format for multiple addresses.

JSON body
{
  "content": {
    "title": "Approved",
    "text": "Your overtime for this month has been approved",
    "screen":"jig"
    
  },
  "scope": "USR",
  "emails": [
    "[email protected]"
  ]
}

Response

Last updated

Was this helpful?