Skip to content

Notifications

js.sevestre edited this page Mar 23, 2020 · 1 revision

Notifications are well describe on the official documentation


Additional use case: Send notification to a group of users :

You need to retrieve the target group id ( see groups, put it in the feedKeys list and remove the recipientEmail properties.

notification_body = {
  "feedKeys": ["4589840722165660"],
  
  "customerId": "123456789",
  "instanceId": "12345678",
  "type": "custom",
  "customType": "custom type identifier",
  "functionalInnerId": "external-reference",
  "senderEmail": "an [email protected]",
  "link": {"fr": "https://myexternalapplicationurl"},
  "title": {"en": "Notification title"},
  "description": {"en": "Notification content"},
  "group": true,
  "groupName": {"en": "Group name"},
  "groupDescription": {"en": "Group description"},
  "isReadOnClick": true,
  "notifyAuthor": false,
}
Clone this wiki locally