user_key, title, body, optional image_url200 - returns { success, message } only (no data).401 - invalid token | 403 - not an admin | 404 - target user not found | 422 - missing fieldsAuthorization: Bearer ********************{
"body": "Check what the stars say for you today.",
"event_name": "daily_horoscope",
"interval_name": "Every 12 hours",
"metadata": {
"event": "daily_horoscope"
},
"title": "Your daily horoscope is ready",
"user_name": "Test user"
}curl --location 'https://uat-api.hastaai.in/api/v1/notifications/custom' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"body": "Check what the stars say for you today.",
"event_name": "daily_horoscope",
"interval_name": "Every 12 hours",
"metadata": {
"event": "daily_horoscope"
},
"title": "Your daily horoscope is ready",
"user_name": "Test user"
}'{
"success": true,
"message": "Notification sent"
}