SearchHeadcounts
SearchHeadcounts counts the people matching every condition at each of their accounts (the district of a public school, else the school), by account id, 500 a page by default. It returns no person, so it counts nothing toward the revealed contacts. With beaconIds (and radiusMiles) it counts the people at those beacons’ institutions, or within the radius of them.
Authentication
A team API key, sent as Authorization: Bearer <key>.
The Cognito access token of a signed-in Edulead user (edulead auth login), sent as Authorization: Bearer <token>.
Headers
Query parameters
The conditions, as SearchPeopleRequest’s: beaconIds ({“operator”: “in”, “value”: [“<beacon id>”, …]}) with radiusMiles ({“operator”: “equals”, “value”: 25}) stand for the people at the team’s beacons’ institutions, or within the miles of them.
Opaque token from a previous response; empty for the first page.
Sort order: a sortable field name, optionally followed by ” desc”. The allowed values are listed.
Response
Token for the next page; empty when this is the last page.