Notifications

Send test push notification to yourself

Sends a push notification with custom title and body to the authenticated user. Requires the user to have a valid FCM token registered.

post/v1/notifications/test-push

Request

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

Request body

titlestring required

Notification title

bodystring required

Notification body text

dataobject

Optional custom data payload

Response

Push notification sent

messagestring required

Success message

userIdstring required

User ID the notification was sent to

successCountnumber required

Number of successful sends

failureCountnumber required

Number of failed sends

Changes

No recorded changes to this operation across all 1 revision of this API.