# Adding additional field to companys endpoint

**URL:** <https://community.hubspot.com/t/adding-additional-field-to-companys-endpoint/117954>\
**Category:** APIs & Integrations\
**Tags:** companies\
**Created:** [October 9, 2024, 6:42am UTC](https://community.hubspot.com/t/adding-additional-field-to-companys-endpoint/117954 "2024-10-09T06:42:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eiregi](https://avatars.discourse-cdn.com/v4/letter/e/c89c15/32.png) [@Eiregi](https://community.hubspot.com/u/Eiregi)\
**Post date:** [October 9, 2024, 6:42am UTC](https://community.hubspot.com/t/adding-additional-field-to-companys-endpoint/117954/1 "2024-10-09T06:42:33Z")

</div>

Hello i want add new feilds data as i am doing post request to the companys endpoint API **[https://api.hubapi.com/crm/v3/objects/companies](https://api.hubapi.com/crm/v3/objects/companies)  
Here is the Json payload**

{  
“properties”: {  
“name”: “grit”,  
“domain”: “[grir4tt.com](http://grir4tt.com)”,  
“city”: “LOO”,  
“country”: “Na”,  
“phone”: “+20000000”,  
“description”: “This is description”,  
“zip”: “01100”,  
“address”: “6789”,  
“employeeId”: “12345”,  
“salesRep”: “John Doe”,  
“notes”: “Important client”,  
“email”: “[g@gmail.com](mailto:g@gmail.com)”  
}  
}  
I have added custom property in my company property but when i send its return a bad 400 request

---

<div class="post-metadata">

**Author:** ![FarioConsulting](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@FarioConsulting](https://community.hubspot.com/u/FarioConsulting)\
**Post date:** [October 9, 2024, 9:56am UTC](https://community.hubspot.com/t/adding-additional-field-to-companys-endpoint/117954/2 "2024-10-09T09:56:39Z")

</div>

Hi Eugene,  
Try retrieving a list of company properties via API (GET /crm/v3/properties/companies) and see if the custom field names (“city”, “country”, etc.) match exactly what HubSpot is expecting.

---

<div class="post-metadata">

**Author:** ![Eiregi](https://avatars.discourse-cdn.com/v4/letter/e/c89c15/32.png) [@Eiregi](https://community.hubspot.com/u/Eiregi)\
**Post date:** [October 9, 2024, 3:03pm UTC](https://community.hubspot.com/t/adding-additional-field-to-companys-endpoint/117954/3 "2024-10-09T15:03:14Z")

</div>

Hello thank you i have found a solution .

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [October 9, 2024, 3:30pm UTC](https://community.hubspot.com/t/adding-additional-field-to-companys-endpoint/117954/4 "2024-10-09T15:30:35Z")

</div>

Hi @Eiregi

Everything is looking good in your JSON. Please re-verify the internal name of all properties or maybe there is a mismatch is property value so do have a look into it. Try sending a req with different properties so that you can find out which property is causing the error.

I hope this will help you out. Please mark it as **Solution Accepted and upvote** to help another Community member.  
Thanks!
