How to get List of contactId based on Emails

SOLVE
ASavaliya
Participant

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

0 Upvotes
1 Accepted solution

Accepted Solutions
dennisedson
Solution
Community Manager

@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.

Thanks,

Dennis



Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content

View solution in original post

3 Replies 3
dennisedson
Community Manager

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 😀

 

 

Thanks,

Dennis



Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
0 Upvotes
ASavaliya
Participant

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
Community Manager

@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.

Thanks,

Dennis



Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content

View solution in original post