Contacts

List contacts by pipeline status buckets

POST
/api/contacts

Returns contacts grouped by pipeline status / stage, supporting per-bucket pagination via the page map. Used by the Kanban board to fetch each column. Honors the same ownership, search, and advanced filters as the flat list endpoint.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/contacts" \  -H "Content-Type: application/json" \  -d '{    "page": {      "New Lead": 1,      "Qualified": 1    },    "size": 25,    "search": "jane",    "ownerFilter": "my",    "pipelineType": "Contact",    "pipelineId": "64f0a1b2c3d4e5f6a7b8c9d1"  }'
{  "data": {    "New Lead": {      "contacts": [],      "total": 12    },    "Qualified": {      "contacts": [],      "total": 4    }  },  "stageIdByName": {    "New Lead": "64f0a1b2c3d4e5f6a7b8c9d2"  }}