SevenShores\Hubspot\Resources\Contacts::getBatchByEmails PHP Method

getBatchByEmails() public method

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.
See also: http://developers.hubspot.com/docs/methods/contacts/get_batch_by_email
public getBatchByEmails ( array $emails, array $params = [] ) : Response
$emails array Array of email adresses
$params array Array of optional parameters ['property', 'propertyMode', 'formSubmissionMode', 'showListMemberships', 'includeDeletes']
return SevenShores\Hubspot\Http\Response
    function getBatchByEmails($emails, $params = [])
    {
        $endpoint = "https://api.hubapi.com/contacts/v1/contact/emails/batch/";
        $params['email'] = $emails;
        $queryString = build_query_string($params);
        return $this->client->request('get', $endpoint, [], $queryString);
    }