# Upsert Contacts

**URL:** <https://community.hubspot.com/t/upsert-contacts/38066>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [May 28, 2021, 12:15am UTC](https://community.hubspot.com/t/upsert-contacts/38066 "2021-05-28T00:15:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![YFeng](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/yfeng/32/84489_2.png) [@YFeng](https://community.hubspot.com/u/YFeng)\
**Post date:** [May 28, 2021, 12:15am UTC](https://community.hubspot.com/t/upsert-contacts/38066/1 "2021-05-28T00:15:22Z")

</div>

Hello expert,

We are using Boomi to integrate data by calling the APIs. The requirement is to use APIs instead of manually import HubSpot objects. I need to get Contacts data from application A to Hubspot. The requirement is to get all contacts created in application A and cross-reference by phone number in HubSpot and then Upsert the contact data from application A to HubSpot. I see there is Create contact and there is Update contact, where is Upsert Contact? The requirement is to “update or insert” Contacts properties to HubSpot. For example: when application A has 20 fields, and Hubspot has 5 fields, then I can Insert 15 fields and update the 5 fields in Hubspot. I would like to know if the Update Contacts- Patch method will meet my requirement.

Thanks,  
Yvonne

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [May 28, 2021, 5:30pm UTC](https://community.hubspot.com/t/upsert-contacts/38066/2 "2021-05-28T17:30:51Z")

</div>

@YFeng ,

Patch is the correct method. Just have to make sure those properties exist with the HubSpot CRM
