APIs & Integrations

riteshyadav
Member

Custom Property via API

SOLVE

So recently i was integrating husbpot with our app. is there any way that i can set custom property via API so every time i receive webhook can have that unique id.

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

Custom Property via API

SOLVE

Hi @riteshyadav 

 

When setting up the Webhook, in the HubSpot App, you will see a list of properties that you include in the json.

 

You will only see default HubSpot Properties in the select list.

 

BUT, you can type the Property Name (not the Property Label) for your Custom Property and it will appear in the json.

 

In this exaple "My Cystom Property" is 'my_custom_property'

 

Mike_Eastwood_0-1733706162874.png

 

Did that work?

Mike

 

View solution in original post

0 Upvotes
5 Replies 5
Mike_Eastwood
Solution
Recognized Expert | Gold Partner
Recognized Expert | Gold Partner

Custom Property via API

SOLVE

Hi @riteshyadav 

 

When setting up the Webhook, in the HubSpot App, you will see a list of properties that you include in the json.

 

You will only see default HubSpot Properties in the select list.

 

BUT, you can type the Property Name (not the Property Label) for your Custom Property and it will appear in the json.

 

In this exaple "My Cystom Property" is 'my_custom_property'

 

Mike_Eastwood_0-1733706162874.png

 

Did that work?

Mike

 

0 Upvotes
riteshyadav
Member

Custom Property via API

SOLVE

Hello, Mike. Thank you for your response.

I need the custom property to be included in the webhook I receive from the client side, regardless of the event they have subscribed to.Untitled-2024-11-16-1352.png

0 Upvotes
riteshyadav
Member

Custom Property via API

SOLVE

@Mike_Eastwood pls help

0 Upvotes
Mike_Eastwood
Recognized Expert | Gold Partner
Recognized Expert | Gold Partner

Custom Property via API

SOLVE

Hi @riteshyadav 

 

You can update Custom Objects using the Patch Method in the Objects API.

 

Fo the object you will need the Object Name (e.g."2-7239252") rather than the Object label (e.g. "My Custom Object").

 

Have fun

Mike

 

Here to learn more about HubSpot and share my HubSpot Knowledge. I'm the founder of Webalite a Gold 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.

 

 

 

0 Upvotes
riteshyadav
Member

Custom Property via API

SOLVE

thanks @Mike_Eastwood 🫡

0 Upvotes