Marketing & CRM
For a given portal, return information about a group of contacts by their user tokens, stored in the hubspotutk cookie. This cookie is generated automatically by the HubSpot tracking code.
This method will also return you much of the HubSpot lead "intelligence" for each requested contact record. The endpoint accepts many query parameters that allow for customization based on a variety of integration use cases.
The endpoint does not allow for CORS, so if you are looking up contacts from their user token on the client, you'll need to spin up a proxy server to interact with the API.