# Contacts API v3 Batch Update using email as Unique Id

**URL:** <https://community.hubspot.com/t/contacts-api-v3-batch-update-using-email-as-unique-id/97671>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [January 12, 2024, 12:20am UTC](https://community.hubspot.com/t/contacts-api-v3-batch-update-using-email-as-unique-id/97671 "2024-01-12T00:20:51Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![CSewell1](https://avatars.discourse-cdn.com/v4/letter/c/4bbf92/32.png) [@CSewell1](https://community.hubspot.com/u/CSewell1)\
**Post date:** [September 25, 2024, 6:23pm UTC](https://community.hubspot.com/t/contacts-api-v3-batch-update-using-email-as-unique-id/97671/11 "2024-09-25T18:23:30Z")

</div>

@DSmith95 **HERE IS THE SOLUTION ✌🏻**

Try this using the **v1 APIs**. They are quite stable and still supported. The page itself quotes:

“Our APIs are in the [midst of a transition](https://developers.hubspot.com/blog/building-the-next-generation-of-hubspots-apis). As part of our effort to improve API consistency and completeness, we launched [the next generation of HubSpot’s API](https://developers.hubspot.com/docs/api/overview) in early 2020. **However, not every endpoint or API has been updated to the latest version, and our older endpoints are still stable and supported**.”

Use this v1 batch contacts endpoint:

[https://legacydocs.hubspot.com/docs/methods/contacts/batch\_create\_or\_update](https://legacydocs.hubspot.com/docs/methods/contacts/batch_create_or_update)

Use the following example request body

```lia-code-sample
[
 // assume existing email
 {
 "email": "test+old@hello.com",
 "properties": [
 {
 "property": "email",
 "value": "test+old@hello.com"
 },
 {
 "property": "firstname",
 "value": "User"
 },
 {
 "property": "lastname",
 "value": "Old Updated"
 }
 ]
 },
 // new email
 {
 "email": "test+new@hello.com",
 "properties": [
 {
 "property": "email",
 "value": "test+new@hello.com"
 },
 {
 "property": "firstname",
 "value": "User"
 },
 {
 "property": "lastname",
 "value": "New"
 }
 ]
 }
]

```

CC: [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) - I see a lot of users in the community suffering from the same issue. Maybe you can suggest them with using this.

---

_[View the full topic](https://community.hubspot.com/t/contacts-api-v3-batch-update-using-email-as-unique-id/97671)._
