period - one of: last_7_days, monthly, last_3_months, last_6_months, this_year, previous_year (no daily)200 - data.period plus data.distribution[] (each: plan_name, count).demo (optional, default false) - fabricated placeholder data, temporary401 - invalid token | 403 - not admin | 422 - invalid periodAuthorization: Bearer ********************curl --location 'https://uat-api.hastaai.in/api/v1/dashboard/subscriptions?period=undefined&demo=undefined' \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Success",
"data": {
"period": "monthly",
"distribution": [
{
"plan_name": "Seeker",
"count": 40
},
{
"plan_name": "Sage Monthly",
"count": 20
}
]
}
}