ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiContact

Get all contact submissions

GET
/api/v1/contact

Admin endpoint to retrieve contact submissions with pagination and filtering

Authorization

bearer

Query Parameters

page?number

Page number

limit?number

Items per page

status?string

Filter by status

Header Parameters

X-API-Version?string

API version for header-based versioning

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

Response Body

Contact submissions fetched successfully

response?unknownapplication/json
Example Request
curl -X GET 'http://localhost:3001/api/v1/contact'
Example Response
{  "status": "success",  "statusCode": 200,  "message": "Contact submissions fetched successfully",  "data": [    {      "id": "uuid",      "name": "John Doe",      "email": "john@example.com",      "phone": "+1234567890",      "subject": "General Inquiry",      "message": "I would like to know more...",      "status": "new",      "ipAddress": "192.168.1.1",      "createdAt": "2026-02-01T10:00:00.000Z"    }  ],  "meta": {    "total": 50,    "count": 20,    "page": 1,    "limit": 20,    "total_pages": 3,    "has_next": true,    "has_previous": false  }}