# API Post to Create Contact is not adding any properties

**URL:** <https://community.hubspot.com/t/api-post-to-create-contact-is-not-adding-any-properties/39490>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [June 24, 2021, 10:28am UTC](https://community.hubspot.com/t/api-post-to-create-contact-is-not-adding-any-properties/39490 "2021-06-24T10:28:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MUfland](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mufland/32/35493_2.png) [@MUfland](https://community.hubspot.com/u/MUfland)\
**Post date:** [June 24, 2021, 10:28am UTC](https://community.hubspot.com/t/api-post-to-create-contact-is-not-adding-any-properties/39490/1 "2021-06-24T10:28:10Z")

</div>

Hi,

I am playing with the API in my Dev Account and trying to add a contact using C# and Postman via the contacts api. The contact seems to be added in Hubspot but none of the data is transferred.

The request is going here [https://api.hubapi.com/crm/v3/objects/contacts?hapikey=xxxxxx-xxxx-xxxx-xxxx-xxxxxx96caf](https://api.hubapi.com/crm/v3/objects/contacts?hapikey=xxxxxx-xxxx-xxxx-xxxx-xxxxxx96caf)

The test data is this

{“company”:“MU [Ltd",“email”:"mark@mulitd.com](mailto:Ltd%22,%22email%22:%22mark@mulitd.com)”,“firstname”:“Mark”,“lastname”:“Ufland”,“phone”:“077676676767”,“website”:“[mulitd.com](http://mulitd.com)”}

The response is this:

{

```
"id": "351",

"properties": {

    "createdate": "2021-06-24T09:18:29.818Z",

    "hs\_is\_unworked": "true",

    "hs\_marketable\_status": "false",

    "hs\_marketable\_until\_renewal": "false",

    "hs\_object\_id": "351",

    "lastmodifieddate": "2021-06-24T09:18:29.818Z"

},

"createdAt": "2021-06-24T09:18:29.818Z",

"updatedAt": "2021-06-24T09:18:29.818Z",

"archived": false

```

}

Do you have any ideas?

Thanks,

Mark

---

<div class="post-metadata">

**Author:** ![natsumimori](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/natsumimori/32/39807_2.png) [@natsumimori](https://community.hubspot.com/u/natsumimori)\
**Post date:** [June 28, 2021, 6:19am UTC](https://community.hubspot.com/t/api-post-to-create-contact-is-not-adding-any-properties/39490/2 "2021-06-28T06:19:09Z")

</div>

Thank you for your post @MUfland .

@dannio and @JBeatty , would you mind sharing your advice for @MUfland ?

---

<div class="post-metadata">

**Author:** ![JBeatty](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jbeatty/32/52252_2.png) [@JBeatty](https://community.hubspot.com/u/JBeatty)\
**Post date:** [July 1, 2021, 8:30pm UTC](https://community.hubspot.com/t/api-post-to-create-contact-is-not-adding-any-properties/39490/3 "2021-07-01T20:30:10Z")

</div>

Hi @MUfland,

I believe the issue here is the data of your request. From the [API docs](https://developers.hubspot.com/docs/api/crm/contacts) the example data they give is:

```lia-code-sample
{
 "properties": {
 "company": "Biglytics",
 "email": "bcooper@biglytics.net",
 "firstname": "Bryan",
 "lastname": "Cooper",
 "phone": "(877) 929-0687",
 "website": "biglytics.net"
 }
}

```

So I would try to reformat your request data like this:

`{"properties":{"company":"MU Ltd","email":"mark@mulitd.com","firstname":"Mark","lastname":"Ufland","phone":"077676676767","website":"mulitd.com"}}`

---

<div class="post-metadata">

**Author:** ![natsumimori](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/natsumimori/32/39807_2.png) [@natsumimori](https://community.hubspot.com/u/natsumimori)\
**Post date:** [July 2, 2021, 2:40am UTC](https://community.hubspot.com/t/api-post-to-create-contact-is-not-adding-any-properties/39490/4 "2021-07-02T02:40:41Z")

</div>

Thank you Josh for your advice!

@MUfland Please check out ↑

---

<div class="post-metadata">

**Author:** ![MUfland](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mufland/32/35493_2.png) [@MUfland](https://community.hubspot.com/u/MUfland)\
**Post date:** [July 2, 2021, 1:27pm UTC](https://community.hubspot.com/t/api-post-to-create-contact-is-not-adding-any-properties/39490/5 "2021-07-02T13:27:59Z")

</div>

Hi Josh,

Thanks for that, it did the trick. I must be getting old as I didn’t spot that when reading the docs. Sometimes you need another pair of eyes.

Regards,

Mark
