Securely send a notification

Securely send a notification to a specific device. Data in securedData filed is encrypted before sending.

The device field can be refered by its deviceId or externalId, this can be set with idType parameter, which is deviceId by default.

If externalId is used, it will be sent to all enabled devices sharing the same externalId.


  • Example with deviceId
{
  "idType": "deviceId",
  "device" : "deviceId1"
}
  • Example with externalId
{
  "idType": "externalId",
  "device" : "externalId1"
}
  • Example with customizable fields. Keep in mind that campaign must cointains these fields, in this example, {{myfield1}} and {{myfield2}}
{
  "idType": "deviceId",
  "device" : "deviceId1",
  "customFields": { 
    "myfield1" : "fieldvalue"
    "myfield2" : "fieldvalue"
  }
}
---

 
Language
Authorization
Header
Click Try It! to start a request and see the response here!