# Creating a contact property

**URL:** <https://community.hubspot.com/t/creating-a-contact-property/53993>\
**Category:** APIs & Integrations\
**Tags:** starter\
**Created:** [March 29, 2022, 11:19am UTC](https://community.hubspot.com/t/creating-a-contact-property/53993 "2022-03-29T11:19:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TorbenBergenhag](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/torbenbergenhag/32/78108_2.png) [@TorbenBergenhag](https://community.hubspot.com/u/TorbenBergenhag)\
**Post date:** [March 29, 2022, 11:19am UTC](https://community.hubspot.com/t/creating-a-contact-property/53993/1 "2022-03-29T11:19:29Z")

</div>

I am rewriting an existing solution, that creates or updates contact properties of type enumeration, and sets that property for the relevant contacts.

I can update an existing property by sending:  
PATCH [https://api.hubapi.com/crm/v3/properties/Contact/dk\_test\_2?hapikey=](https://api.hubapi.com/crm/v3/properties/Contact/dk_test_2?hapikey=)  
body:  
{“type”: “enumeration”,“fieldType”: “checkbox”,“groupName”: “dk\_product\_access”,“options”: [{“label”: “Option 01 Test”,“value”: “option\_01\_test”},{“label”: “Option 02 test”,“value”: “Option\_02\_test”},{“label”: “Option 03 test”,“value”: “Option\_03\_test”}]}

But how do i create a new one? if the property doen’t exists, i get

status 404  
{  
“status”: “error”,  
“message”: “Couldn’t find a Property with the given name ‘dk\_test\_2’”,  
“correlationId”: “3323dde0-8d1f-4688-8ba8-05d47121782f”,  
“propertiesErrorCode”: “PROPERTY\_NOT\_FOUND”  
}

---

<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:** [March 29, 2022, 1:32pm UTC](https://community.hubspot.com/t/creating-a-contact-property/53993/2 "2022-03-29T13:32:49Z")

</div>

@TorbenBergenhag

I am not 100% clear on the problem so apologies if this answer is obvious, but you would create the property with the POST method.

---

<div class="post-metadata">

**Author:** ![TorbenBergenhag](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/torbenbergenhag/32/78108_2.png) [@TorbenBergenhag](https://community.hubspot.com/u/TorbenBergenhag)\
**Post date:** [March 30, 2022, 6:48am UTC](https://community.hubspot.com/t/creating-a-contact-property/53993/3 "2022-03-30T06:48:48Z")

</div>

Thanks, it were kind of obvious, and i already tried without luck, but after your answer, i played arould a little with the address and body, and made it work.
