APIs & Integrations

ASavaliya
Participant

How to get List of contactId based on Emails

SOLVE

If have list of Email and i want to get contactid of this email list using single api.

0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

How to get List of contactId based on Emails

SOLVE

@ASavaliya 

Ah!  I get it!  This endpoint should be the one you want

The call would look something like this

https://api.hubapi.com/contacts/v1/contact/emails/batch/?email=xyz@gmail.com&email=abc@gmail.com&hapikey=XXXX

and if there specific values you want to see other than the default returned, you would add &properties=XXX per extra property.

View solution in original post

4 Replies 4
dennisedson
HubSpot Product Team
HubSpot Product Team

How to get List of contactId based on Emails

SOLVE

Hello @ASavaliya 

Welcome to the Community!

I am not totally clear on the question.  Hoping that what you want is to use is the list api

Let us know if  there is more that you need and be as detailed as possible 😀

 

 

0 Upvotes
ASavaliya
Participant

How to get List of contactId based on Emails

SOLVE

Hello @dennisedson 

 

Lets say i have a list of email, and i want find contact ids  of this emails, by  calling one API.

 

for example i have email xyz@gmail.com,abc@gmail.com, i want to get contact ids of this email in single API call.

its is possiable?

dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

How to get List of contactId based on Emails

SOLVE

@ASavaliya 

Ah!  I get it!  This endpoint should be the one you want

The call would look something like this

https://api.hubapi.com/contacts/v1/contact/emails/batch/?email=xyz@gmail.com&email=abc@gmail.com&hapikey=XXXX

and if there specific values you want to see other than the default returned, you would add &properties=XXX per extra property.

CarlosGuerreroD
Participant

How to get List of contactId based on Emails

SOLVE

Hi: We are actually on 2023, we are not granted with the use of hapikey, instead of this we only can use Bearer Token, so... Is there any solution on V3/V4? if not, why not open creation of hapikeys?