CreateMatch
CreateMatch starts a match of the team’s HubSpot companies with the given strategy and properties. It returns at once, FETCHING; GetMatch follows its progress. The same request_id returns the match it started.
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
Caller-chosen idempotency key. The same key from the same caller within 24 hours returns the original result instead of acting again.
Request
enum.defined_only = true
Required on create. enum.defined_only = true
The HubSpot company property holding the company’s name; required for NAME_ADDRESS.
The HubSpot company property holding the company’s state; required for NAME_ADDRESS.
The HubSpot company property holding the company’s NCES id; required for NCES_ID.
Companies read from HubSpot so far; unset until the first page is read.
Companies the match covers; set when reading ends.
Companies matched to an institution; set when READY.
Companies matched by NCES id (either NCES tier); set when READY.
Companies matched by name; set when READY.
Distinct institutions matched; set when READY (stats.distinct_institutions is live).
The team’s connected HubSpot account, to link a row’s company; GetMatch only, empty when the team has none.
Counts over the rows; GetMatch only.
Response
Match is one matching of the team’s HubSpot companies to Edulead institutions. On create, strategy and the hubspot_*_property fields are read; the service sets the others.