APIs & Integrations

SAird
Member

api calls to custom properties

SOLVE

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.

0 Upvotes
1 Accepted solution
Mike_Eastwood
Solution
Recognized Expert | Gold Partner
Recognized Expert | Gold Partner

api calls to custom properties

SOLVE

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

 

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.

 

View solution in original post

2 Replies 2
Mike_Eastwood
Solution
Recognized Expert | Gold Partner
Recognized Expert | Gold Partner

api calls to custom properties

SOLVE

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

 

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.

 

SAird
Member

api calls to custom properties

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