---
title: "Create a notification for a device"
method: POST
path: "/v3/apps/{appId}/devices/{deviceId}/notifications"
tags: ["NOTIFICATIONS"]
---

# Create a notification for a device

`POST /v3/apps/{appId}/devices/{deviceId}/notifications`

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

## Path parameters

- `appId` string, required
- `deviceId` string, required

## Headers

- `User-Agent` string, required

## Request body

- object
  - `app` object — The app the notification will be sent to. This will be autopopulated by the server.
    - `id` string — Unique identifier.
  - `event` string
  - `timeToLive` integer — The time to live of the notification in seconds. By default this is 5 days.
  - `data` string — Payload of the notification. This is at most 4000 characters.

## Response `200`

---

[API](https://skmtc.net/clover/apis/platform-api.md) · [All operations](https://skmtc.net/clover/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clover/platform-api/revisions/08da265101a3/schema)
