# How do I import each user's HubSpot data into my React platform using their email?

**URL:** <https://community.hubspot.com/t/how-do-i-import-each-users-hubspot-data-into-my-react-platform-using-their-email/125693>\
**Category:** APIs & Integrations\
**Tags:** starter\
**Created:** [February 8, 2025, 3:04pm UTC](https://community.hubspot.com/t/how-do-i-import-each-users-hubspot-data-into-my-react-platform-using-their-email/125693 "2025-02-08T15:04:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JCoro](https://avatars.discourse-cdn.com/v4/letter/j/bb73d2/32.png) [@JCoro](https://community.hubspot.com/u/JCoro)\
**Post date:** [February 8, 2025, 3:04pm UTC](https://community.hubspot.com/t/how-do-i-import-each-users-hubspot-data-into-my-react-platform-using-their-email/125693/1 "2025-02-08T15:04:57Z")

</div>

Please help me.

Now I am building React project and this is my purpose.

Each users input their email information and then they get their whole data from hubspot. Of course that email is hubspot singin email.

Is it possible?

How can I do this?

If users need more information, what is that?

---

<div class="post-metadata">

**Author:** ![WesQ](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wesq/32/17184_2.png) [@WesQ](https://community.hubspot.com/u/WesQ)\
**Post date:** [February 10, 2025, 1:16am UTC](https://community.hubspot.com/t/how-do-i-import-each-users-hubspot-data-into-my-react-platform-using-their-email/125693/2 "2025-02-10T01:16:59Z")

</div>

Hi @JCoro

You can use HubSpot’s Contacts API to fetch the contact data.

Reference:

> **[Accounts Dashboard | HubSpot](https://app.hubspot.com/myaccounts?next=developerdocs&redirect=%2Fapi-reference%2Fcrm-contacts-v3%2Fguide)**

If you have the contactId, you can use the basic GET

`https://api.hubapi.com/crm/v3/objects/contacts/{contactId}`

But since you have email, you can search for contacts using POST

```lia-code-sample
POST https://api.hubapi.com/crm/v3/objects/contacts/search
Authorization: Bearer pat-na1-4b6edd76- ***************
Content-Type: application/json

{
 "filterGroups":[
 {
 "filters":[
 {
 "propertyName":"email",
 "operator":"EQ",
 "value": "wes@pearagon.com"
 }
 ]
 }
 ],
"properties": ["firstname", "lastname"]
}

```

When using search, make sure you send a body like this

![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/0/707280cae4a04999540e3e920e717c53f28d0a56.png) **Was I able to help answer your question? Help the community by marking it as a solution.**
