Admin - Push Notifications

Send test push notification to a user

Sends a push notification with the avatar of the model from the user's most recent chat. Useful for testing push notification delivery with custom avatars.

post/admin/push-notifications/test

Request body

userIdstring required

User ID to send test push notification to

titlestring

Optional custom title (defaults to model name)

bodystring

Optional custom body text

Response

Test push notification sent

successboolean required

Whether the push was successfully sent

modelNamestring nullable required

Model name from most recent chat

avatarUrlstring nullable required

Avatar URL used in the notification

fcmTokenstring nullable required

Masked FCM token (last 8 chars)

successCountnumber required

Number of successful deliveries

failureCountnumber required

Number of failed deliveries

Changes