Sends a one-off Firebase push straight to the calling user's own registered device, carrying deep_link in the FCM data payload. No user_id/device_id needed in the body - both are resolved from the Bearer token, so this always targets the caller's own current device. Use it to verify the app redirects correctly for any action://?slug= value before wiring up a real trigger.
Request: Bearer token
Body: deep_link (required), optional title/body
Success: 200 - returns { success, message } only (no data).
Errors: 401 - invalid token | 404 - user not found/inactive | 422 - no device registered for this account, or the Firebase send failed
Authorization: Bearer ********************{
"body": "Tap to verify the deep link redirect.",
"deep_link": "action://kundali",
"title": "Test Notification"
}curl --location 'https://uat-api.hastaai.in/api/v1/notifications/test' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"body": "Tap to verify the deep link redirect.",
"deep_link": "action://kundali",
"title": "Test Notification"
}'{
"success": true,
"message": "Test notification sent"
}