groupByField (a field path from GET /schema/contact), returns the distinct values that appear on matching contacts for that field.groupByField. Optional limit and paginationToken when there are many distinct values.curl --location 'https://app.highperformr.ai/api/contacts/filter-unique-field-values-of-matching-contacts' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"conditions": [
{
"field": "contact.workEmail",
"operator": "LIKE",
"value": "@acme.com"
}
],
"groupByField": "example",
"limit": 42,
"paginationToken": "example"
}'{
"data": [
"example"
],
"meta": {
"totalRecords": 12840,
"previousToken": "eyJvIjoxfQ",
"nextToken": "eyJvIjoyfQ"
}
}