Skip to main content
POST
/
push_notifications
/
send
Send notification
curl --request POST \
  --url https://app.xmenu.it/api/push_notifications/send \
  --header 'Content-Type: application/json' \
  --header 'X-Client-Id: <api-key>' \
  --header 'X-Client-Secret: <api-key>' \
  --data '
{
  "uid": "<string>"
}
'
{
"success": true,
"error": "<string>",
"message": "<string>"
}
write:push_notifications

Authorizations

X-Client-Id
string
header
required

Client ID for API Client authentication (must be used together with Client Secret)

X-Client-Secret
string
header
required

Client Secret for API Client authentication (must be used together with Client ID)

Body

application/json
uid
string
required

Unique identifier of the notification to send (obtained from the creation endpoint)

Response

Operation response

success
boolean
required

Operation result: true if successful, false if failed. Device delivery occurs asynchronously after a successful response.

error
string

Error code if the operation failed. Possible values:

  • NOTIFICATION_NOT_FOUND = Notification not found or expired

See Error codes for general error codes that may also occur.

message
string

Human-readable error description if the operation failed