Contact Metrics

Get contacts by category with pagination

GET
/api/contact-metrics/contacts

Drill-down endpoint - return the paginated contact list that maps to the requested categoryKey (or all uncategorized contacts when categoryKey is omitted).

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

categoryKey?string
startDate?string
Formatdate-time
endDate?string
Formatdate-time
page?string
limit?string
pipelineId?string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/contact-metrics/contacts"
{  "success": true,  "data": {    "contacts": [      {        "_id": "65c2d0e0f0a0b0c0d0e0f0a0",        "firstName": "Jane",        "lastName": "Doe",        "phoneNumber": "+14155550123",        "status": "qualified",        "createdAt": "2026-04-12T08:00:00.000Z",        "hasOutbound": true,        "channelTypes": [          "sms"        ]      }    ],    "total": 47,    "page": 1,    "limit": 25,    "totalPages": 2  }}