application/jsonnotify_intervals) instead of a one-shot send. send_type='generic' broadcasts to all opted-in users each run; send_type='custom' requires target_user_name and sends to that one user each run.send_type, target_user_name (required for custom), title, body, optional image_url, interval_name200 - created403 - not an admin | 404 - target user not found | 422 - unknown interval or missing target for customAuthorization: Bearer ********************{
"body": "Check out this week's featured mantra.",
"interval_name": "Weekly",
"send_type": "generic",
"title": "Weekly Wisdom"
}curl --location 'https://uat-api.hastaai.in/api/v1/admin/notifications/scheduled' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"body": "Check out this week'\''s featured mantra.",
"interval_name": "Weekly",
"send_type": "generic",
"title": "Weekly Wisdom"
}'{
"success": true,
"message": "Scheduled notification created"
}