You are here: Home > API Reference > UEM > Push Notifications > Send push notification

Send push notification

Required Permission: mdm.global.pushNotification.send

Send push notification

POST
https://api.applivery.io/v1/organizations/{organizationId}/mdm/push-notifications/send

Request

Send your API key in the request header authorization
Example: Authorization: Bearer <token>

organizationId string
required
Match pattern: ^(([a-fA-F0-9]{24})|([a-zA-Z0-9\\-]{3,}))$

Body Params application/json
os string required
Operating system of the target device
ios android aosp macos windows package
identifier string required
Id of the target device
Match pattern: ^[a-fA-F0-9]{24}$
app string required
Applivery MDM app that receives the notification
mdmAgent setupAssistant remoteSupport kioskLauncher
type string required
silent
notification object required
title string optional
Title of the push notification
≤ 256 characters
data object optional
Custom key-value payload included in the notification
body any optional
Not allowed for silent notifications
{
    "os": "ios",
    "identifier": "string",
    "app": "mdmAgent",
    "type": "silent",
    "notification": {
        "title": "string",
        "data": {},
        "body": "string"
    }
}

Responses

{
  "type": "object",
  "properties": {}
}
400 Response application/json
status boolean optional
false
error object optional
code number optional
5172
message string optional
PushNotification error
{
    "status": false,
    "error": {
        "code": 5172,
        "message": "PushNotification error"
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4004
message string optional
Invalid Token
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
404 Response application/json
status boolean optional
false
error object optional
code number optional
3001
message string optional
Entity not found
{
    "status": false,
    "error": {
        "code": 3001,
        "message": "Entity not found"
    }
}
Was this page helpful?