NOTIFICATIONS

Create a notification for an app

Send 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}/merchants/{mId}/notifications

Request

  • Base URL
    https://apisandbox.dev.clover.com
  • URL
    https://apisandbox.dev.clover.com/v3/apps/{appId}/merchants/{mId}/notifications
  • Auth
    HTTP bearer

Path parameters

appIdstring required

App Id

mIdstring required

Merchant Id

Headers

User-Agentstring required

Identifies the application, operating system, vendor, and/or version of the requesting user agent. Format: <product> / <product-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.

Changes

No recorded changes to this operation across all 2 revisions of this API.