The Notifications REST API (notification.send endpoint) lets you trigger in-app notifications by specifying a topic, status, and action type, along with any additional required parameters such as action and actionLabel for context-link actions. This page explains the supported values, casing rules, and validation behavior so you can integrate notifications reliably without needing backend assistance.
Request Body Values
|
Request Body Item |
Value |
Description |
|---|---|---|
|
topic |
|
|
|
status |
|
|
|
actionType |
|
|
|
action |
Example: JSON
|
There is a 2000 characters length limitation applied on |
|
actionLabel |
Example:
|
There is a 255 characters length limitation applied on |
Note that the UNKNOWN value is invalid for both status and actionType request body items.
Validation Logic Table
|
Case |
actionLabel |
action |
Length of actionLabel |
Result |
Description |
|---|---|---|---|---|---|
|
1 |
Blank |
Blank |
N/A |
✅ Valid |
If |
|
2 |
Blank |
Not blank |
N/A |
✅ Valid |
|
|
3 |
Not blank |
Blank |
N/A |
❌ Invalid |
|
|
4 |
Not blank |
Not blank |
Within max length |
✅ Valid |
All conditions satisfied. |
|
5 |
Not blank |
Not blank |
Exceeds max length |
❌ Invalid |
|
Examples
|
Notification Type |
Request Body |
Message |
|---|---|---|
|
Error Notification |
JSON
|
|
|
Context Link to a Specific Object |
JSON
|
|