notifications

Send test notification

Send a test push notification to all registered devices, regardless of provider.

post/api/notifications/test

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/notifications/test
  • Auth: HTTP bearer

Request body

titlestring

Notification title

bodystring

Notification body

Example request

{
  "body": "This is a test notification from the API",
  "title": "Test Notification"
}

Response

Successful Response

messagestring required

Status message

success_countinteger required

Number of successful notifications sent

failure_countinteger required

Number of failed notifications

total_devicesinteger required

Total number of devices with push tokens

Example response

{
  "failure_count": 0,
  "message": "Notifica di test inviata",
  "success_count": 2,
  "total_devices": 2
}

Changes

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