# POST /crm/v3/objects/contacts

**URL:** <https://community.hubspot.com/t/post-crm-v3-objects-contacts/24079>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [August 11, 2020, 7:53pm UTC](https://community.hubspot.com/t/post-crm-v3-objects-contacts/24079 "2020-08-11T19:53:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![titusrobyk](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/titusrobyk/32/99782_2.png) [@titusrobyk](https://community.hubspot.com/u/titusrobyk)\
**Post date:** [August 11, 2020, 7:53pm UTC](https://community.hubspot.com/t/post-crm-v3-objects-contacts/24079/1 "2020-08-11T19:53:06Z")

</div>

Dear Community Members,  
My usecase is to create a contact by using the POST /crm/v3/objects/contacts API  
Addendum : We have a website and have a Newsletter Subscription section in our website. So i would like to employee POST /crm/v3/objects/contacts API to be invoked whenever a user enters his/her email Id in our form present in the Website.  
So far i have an hapikey  
Performed a test call using the following  
POST [https://api.hubapi.com/crm/v3/objects/contacts?hapikey={{hapikey}](https://api.hubapi.com/crm/v3/objects/contacts?hapikey=%7B%7Bhapikey%7D)}

{

“properties”: [

```
{

  "property": "firstname",

  "value": "Alice"

},

{

  "property": "lastname",

  "value": "Test"

},

{

  "property": "email",

  "value": "alice-test@hubspot.com"

}

```

]

}

Resposne that i am getting is as follows

{

```
"status": "error",

"message": "Invalid input JSON on line 2, column 17: Cannot deserialize instance of \`java.util.LinkedHashMap\` out of START\_ARRAY token",

"correlationId": "cdd965ea-51ca-4c4a-b9e6-5c598e72b564"

```

}

Could someone assist me by letting me know , what am i doing wrong here ?  
Thanks  
Titus

---

<div class="post-metadata">

**Author:** ![WendyGoh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wendygoh/32/42320_2.png) [@WendyGoh](https://community.hubspot.com/u/WendyGoh)\
**Post date:** [August 12, 2020, 6:46am UTC](https://community.hubspot.com/t/post-crm-v3-objects-contacts/24079/2 "2020-08-12T06:46:41Z")

</div>

Hey @titusrobyk,

When looking to use the [CRM v3 API | Contacts](https://developers.hubspot.com/docs/api/crm/contacts), the POST body format should be something like this:

```auto
{
 "properties": {
 "firstname": "Alice",
 "lastname": "Test",
 "email": "alice-test@hubspot.com"
 }
}

```

The POST body format that you’re currently using is only supported on the [Contacts v1 API](https://legacydocs.hubspot.com/docs/methods/contacts/create_contact).

---

<div class="post-metadata">

**Author:** ![titusrobyk](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/titusrobyk/32/99782_2.png) [@titusrobyk](https://community.hubspot.com/u/titusrobyk)\
**Post date:** [August 12, 2020, 7:46am UTC](https://community.hubspot.com/t/post-crm-v3-objects-contacts/24079/3 "2020-08-12T07:46:58Z")

</div>

Thank you Wendy , I was able to run the API  
But i have another query

 ![30194i78A7DE22CC1D4CB8.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/6/16a726d3868ed8b6b7a4f11e0cf0684abcf27516.jpeg)

How do i use the property names in api request payload ?  
Is there a link in which i could lookup ?  
i tried using contact\_owner , reponse says its not present

---

<div class="post-metadata">

**Author:** ![WendyGoh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wendygoh/32/42320_2.png) [@WendyGoh](https://community.hubspot.com/u/WendyGoh)\
**Post date:** [August 13, 2020, 5:19am UTC](https://community.hubspot.com/t/post-crm-v3-objects-contacts/24079/4 "2020-08-13T05:19:44Z")

</div>

Hey @titusrobyk,

When looking to set the contact owner via the contact v3 endpoint, you’d need to use the property internal name and in this case, the contact owner property internal name is `hubspot_owner_id`.

You can retrieve property internal name by going to:

Settings \> Properties \> Search for the property i.e. _contact owner_ \> Hover over and click ‘Edit’

 ![30236iC70E0ED6CBDB8F71.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/9/a971c24a5dc9dc63e799609cf172acbb31b19e77.png)

Beside the property name, click on ‘\</\>’ and you should be able to see the internal name:

 ![30237i028D28408ADCD9D0.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/4/e411c868fbef1a2d642d196aa6d64ed7cc45688d.png)

---

<div class="post-metadata">

**Author:** ![titusrobyk](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/titusrobyk/32/99782_2.png) [@titusrobyk](https://community.hubspot.com/u/titusrobyk)\
**Post date:** [August 13, 2020, 5:38am UTC](https://community.hubspot.com/t/post-crm-v3-objects-contacts/24079/5 "2020-08-13T05:38:47Z")

</div>

@WendyGoh Once again , Thanks alot !!
