ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiContact

Get contact statistics

GET
/api/v1/contact/statistics

Admin endpoint to get contact submission statistics

Authorization

bearer

Header Parameters

X-API-Version?string

API version for header-based versioning

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

Response Body

Statistics fetched successfully

response?unknownapplication/json
Example Request
curl -X GET 'http://localhost:3001/api/v1/contact/statistics'
Example Response
{  "status": "success",  "statusCode": 200,  "message": "Contact statistics fetched successfully",  "data": {    "total": 150,    "new": 25,    "read": 50,    "replied": 60,    "today": 5  }}