v1

latestOpenAPI 3.0.02026-08-04265791.1 MB
Notifications

Create

You may create a new single notification or multiple notifications using this action.
When creating a single notification the body contains a json object, when creating multiple notifications the body contains an array of objects.
Warning: a maximum of 1000 items can be sent in a single request.

post/public/api/notifications

Headers

Acceptstring

e.g. application/json

Request body

user_idsstring[]
group_idsstring[]
titlestring
bodystring
modestring
entity_typestring
entity_idstring

Example request

{
  "user_ids": [
    "5babb8a69fa6ae919f675715",
    "5babb8a69fa6ae919f675716"
  ],
  "group_ids": [
    "company_employees"
  ],
  "title": "Major news",
  "body": "New deal signed with ...",
  "mode": "push",
  "entity_type": "news",
  "entity_id": "54ab03c6546847ee0d30084a"
}

Response

OK