v1

latestOpenAPI 3.0.12026-07-242871595.3 MB
NOTIFICATIONS

Create a notification for a device

Push a message to a device that has your app installed and is listening for notifications. For details on how to use Clover's Android SDK to receive notifications see: https://github.com/clover/android-examples/tree/master/pushnotificationexample

post/v3/apps/{appId}/devices/{deviceId}/notifications

Path parameters

appIdstring required

App Id

deviceIdstring required

Device Id

Headers

User-Agentstring required

Identifies the application, operating system, vendor, and/or version of the requesting user agent. Format: <AppName>/<Version> <Comment>

Request body

eventstring
timeToLiveinteger

The time to live of the notification in seconds. By default this is 5 days.

datastring

Payload of the notification. This is at most 4000 characters.