# Create or update a contact

**URL:** <https://community.hubspot.com/t/create-or-update-a-contact/63523>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [August 23, 2022, 9:42am UTC](https://community.hubspot.com/t/create-or-update-a-contact/63523 "2022-08-23T09:42:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![coldrickjack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/coldrickjack/32/6684_2.png) [@coldrickjack](https://community.hubspot.com/u/coldrickjack)\
**Post date:** [August 23, 2022, 11:28am UTC](https://community.hubspot.com/t/create-or-update-a-contact/63523/2 "2022-08-23T11:28:00Z")

</div>

Hey @MGabre,

You can use the email address of the contact providing you append the “idProperty=email” parameter to your query string. This is documented [here](https://developers.hubspot.com/docs/api/crm/contacts) under “Unique identifiers and duplication”. See below for a sample of a request to update the phone number of a known contact using their email address:

```lia-code-sample
curl --location --request PATCH 'https://api.hubapi.com/crm/v3/objects/contacts/{{email}}?idProperty=email' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
 "properties": {
 "phone": "2132323423"
 }
}'

```

Hope this helps!

---

_[View the full topic](https://community.hubspot.com/t/create-or-update-a-contact/63523)._
