Newer Version Available
Custom Notification Actions
Before you send a custom notification, you must first create a notification type.
This object is available in API version 46.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/vXX.X/actions/standard/customNotificationAction
- Formats
- JSON, XML
- HTTP Methods
- GET, HEAD, POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| customNotifTypeId |
|
| recipientIds |
|
| senderId |
|
| title |
|
| body |
|
| targetId |
You must specify either a targetID or a targetPageRef. |
| targetPageRef |
You must specify either a targetID or a targetPageRef. |
Usage
GET
The following example shows how to get information
about the custom notification action
type:
POSTThe
following example shows how to create a custom notification
action:
The
response is: