title, body, optional image_url200 - returns { success, message } only (no data).401 - invalid token | 403 - not an admin | 422 - missing fieldsAuthorization: Bearer ********************{
"body": "Wishing you a year full of prosperity.",
"deep_link": "action://blog?slug=diwali-2026",
"image_url": "https://images.hastaai.in/notifications/diwali.jpg",
"metadata": {
"screen": "home"
},
"title": "Happy Diwali!"
}curl --location 'https://uat-api.hastaai.in/api/v1/notifications/generic' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"body": "Wishing you a year full of prosperity.",
"deep_link": "action://blog?slug=diwali-2026",
"image_url": "https://images.hastaai.in/notifications/diwali.jpg",
"metadata": {
"screen": "home"
},
"title": "Happy Diwali!"
}'{
"success": true,
"message": "Notification sent"
}