ApiNewsletter
Get newsletter statistics (admin)
GET
bearerX-API-Version?stringAPI version for header-based versioning
Default
"1"Value in
"1""2"Newsletter statistics fetched successfully
response?unknownapplication/jsoncurl -X GET 'http://localhost:3001/api/v1/newsletter/statistics'Example Response
{ "status": "success", "statusCode": 200, "message": "Newsletter statistics fetched successfully", "data": { "total": 1000, "active": 850, "inactive": 150, "todaySubscribed": 25 }}