SearchPeople
SearchPeople pages through the people matching every condition, most relevant first unless order_by says otherwise, 25 a page by default; or, with group_by, their accounts. Relevance ranks by the seniority of the role a role condition matched, the quality of the contact details and whether it is the person’s only role; without a role condition it is priority, highest first. Every person a page returns counts toward the team’s revealed contacts for the month (or billing year); a page that would take the team past its limit is refused and counts nothing.
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
A JSON array of up to 30 conditions, all of which must hold: [{“field”: “titleRole”, “operator”: “equals”, “value”: “director”}, …]. The fields and the operators each allows are those of the Edulead console’s people search: among them titleRole, titleArea, institutionType, state, studentsTotal, institutionId, territoryId, shapes, lastSeen and fulltext. A comma in a value matches any of its parts (“TX,CA”). Institution conditions hold on one and the same institution of a person, role conditions on one and the same role; a role exclusion holds on every role.
Set to keep the search in the caller’s search history, as the console does: PEOPLE_SEARCH from people search, INSTITUTION_DETAIL from an institution’s people, MAP_VIEW from the maps, BUYING_GROUPS from buying groups.
Sort order: a sortable field name, optionally followed by ” desc”. The allowed values are listed.
Opaque token from a previous response; empty for the first page.
account pages through the people’s accounts instead, the most important first, each with its most valuable people in groups; order_by is ignored.
With group_by, how many people each account carries; 0 is 10.
Response
Token for the next page; empty when this is the last page.
How many people match the conditions, over every page; with group_by, how many accounts.
With group_by, the page of accounts.
With group_by, how many people match over every account.
With group_by and a condition selecting public institutions, how many matching accounts fall in each size band, counted without any accountNrStudents condition.