APIs & Integrations

ASavaliya
Teilnehmer/-in

How to get List of contactId based on Emails

lösung

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

0 Upvotes
1 Akzeptierte Lösung
dennisedson
Lösung
HubSpot-Produktteam
HubSpot-Produktteam

How to get List of contactId based on Emails

lösung

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

Lösung in ursprünglichem Beitrag anzeigen

4 Antworten
dennisedson
HubSpot-Produktteam
HubSpot-Produktteam

How to get List of contactId based on Emails

lösung

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
Teilnehmer/-in

How to get List of contactId based on Emails

lösung

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
Lösung
HubSpot-Produktteam
HubSpot-Produktteam

How to get List of contactId based on Emails

lösung

@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
Teilnehmer/-in

How to get List of contactId based on Emails

lösung

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?