ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiNewsletter

Get newsletter statistics (admin)

GET
/api/v1/newsletter/statistics

Authorization

bearer

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Response Body

Newsletter statistics fetched successfully

response?unknownapplication/json
Example Request
curl -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  }}