curl --request POST \
--url http://api.superwize.ai/api/notifications/sendTestNotification \
--header 'Content-Type: application/json' \
--data '
{
"title": "SuperWize",
"body": "Test notification from backend"
}
'{
"ok": true,
"tokenCount": 3,
"sent": 3,
"invalidTokens": 1,
"errors": 0,
"receiptIdsRequested": 3,
"receiptsMissing": 0
}Sends a test push notification to all active device tokens for the current user.
curl --request POST \
--url http://api.superwize.ai/api/notifications/sendTestNotification \
--header 'Content-Type: application/json' \
--data '
{
"title": "SuperWize",
"body": "Test notification from backend"
}
'{
"ok": true,
"tokenCount": 3,
"sent": 3,
"invalidTokens": 1,
"errors": 0,
"receiptIdsRequested": 3,
"receiptsMissing": 0
}