api calls to custom properties

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.

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”.

Then, in your API Call 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 a HubSpot Partner Agency based in Wellington, New Zealand and the founder of Portal-iQ the world’s first automated HubSpot Portal Audit that helps you work smarter with HubSpot.

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