Action Objects Custom Notification Actions
Custom Notification Actions
Send custom notifications to recipients via desktop or mobile channels.
Before you send a custom notification, you must first create a notification type.
Important: In orgs created in Winter ’21 or later, the Send Custom Notifications user permission is required to trigger the Send
Custom Notification action in flows that run in user context, REST API calls, and Apex callouts.
The Send Custom Notifications user permission isn’t required to trigger the Send Custom Notification action in processes or flows
that run in system context.
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 Type
reference
Description
Required. The ID of the Custom Notification Type being used for the notification.
recipientIds Type
reference
Description
Required. The ID of the recipient or recipient type of the notification. Valid recipient or recipient
type values are:
• UserId — The notification will be sent to this user, if this user is active.
• AccountId — The notification will be sent to all active users who are members of this
account’s Account Team.
Note: This recipient type is valid if account teams are enabled for your org.
• OpportunityId — The notification will be sent to all active users who are members of
this opportunity’s Opportunity Team.