# api calls to custom properties

**URL:** <https://community.hubspot.com/t/api-calls-to-custom-properties/90230>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [September 21, 2023, 9:00pm UTC](https://community.hubspot.com/t/api-calls-to-custom-properties/90230 "2023-09-21T21:00:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SAird](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@SAird](https://community.hubspot.com/u/SAird)\
**Post date:** [September 21, 2023, 9:00pm UTC](https://community.hubspot.com/t/api-calls-to-custom-properties/90230/1 "2023-09-21T21:00:18Z")

</div>

We need to read and write to our custom contact and company properties via the API.  
We dont see where we can do that - can you please send link/doc for us to get instructions.

Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [September 22, 2023, 1:53am UTC](https://community.hubspot.com/t/api-calls-to-custom-properties/90230/2 "2023-09-22T01:53:39Z")

</div>

Hi @SAird

In you API call you can add your Custom Properties.

First, find the name of the Property in HubSpot.

**Settings** (cog top right) \> **Properties** (left menu) \> click on the **Property** you want to use \> click on the “\< /\>” to see the **Internal name**.

In this screenshot you can see the Custom Property “Partner Code” has the Internal name “partner\_coupon\_code”.

 ![Screen Shot 2023-09-22 at 1.48.56 PM.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/6/f6e3e608c0467d6fc066f7f34977bac630ffb842.jpeg)

Then, in your [API Call](https://developers.hubspot.com/docs/api/crm/companies) you can add your Custom Property. In this case I get the **partner\_coupon\_code** and **partner\_status** for Company 123

`https://api.hubapi.com/crm/v3/objects/companies/123?properties=partner_coupon_code&properties=partner_status`

Have fun

Mike

Here to learn more about HubSpot and share my HubSpot Knowledge. I’m the founder of [Webalite](https://www.webalite.com?utm_campaign=community-forum&utm_source=community&utm_content=signature) a HubSpot Partner Agency based in Wellington, New Zealand and the founder of **Portal-iQ** the world’s first automated [HubSpot Portal Audit](https://portal-iq.com?utm_campaign=community-forum&utm_source=community-forum&utm_content=signature) that helps you work smarter with HubSpot.

---

<div class="post-metadata">

**Author:** ![SAird](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@SAird](https://community.hubspot.com/u/SAird)\
**Post date:** [September 22, 2023, 1:58am UTC](https://community.hubspot.com/t/api-calls-to-custom-properties/90230/3 "2023-09-22T01:58:35Z")

</div>

Thanks very much Mike for this reply - we will try and let you know if it  
works or we have more questions.
