APIs & Integrations

aparisi
Participant

List internal values of a property programmatically

SOLVE

Hi, HubSpot community:

 

I'm using the HubSpot API to create contacts and I need to set the Contact Owner property. The problem is that I don't want a list of hardcoded internal values in my code because it would be a pain to maintain.

 

Is there any way to retrieve the internal values of a property programmatically?

 

If the answer is no: do you have any suggestion?

 

Thanks!

 

aparisi_0-1672312637667.png

 

 

0 Upvotes
1 Accepted solution
tominal
Solution
Guide | Partner
Guide | Partner

List internal values of a property programmatically

SOLVE

Hey @aparisi,

 

I have just the thing for you! The Owners API returns those HubSpot user IDs.

 

tominal_0-1673298892246.png

 

Hope that helps!

 

P.S. thank you @TiphaineCuisset for the mentions! I love helping out.


Thomas Johnson
Community Champion


Kahu Software LLC
A Texan HubSpot consulting firm
https://kahusoftware.com

View solution in original post

3 Replies 3
tominal
Solution
Guide | Partner
Guide | Partner

List internal values of a property programmatically

SOLVE

Hey @aparisi,

 

I have just the thing for you! The Owners API returns those HubSpot user IDs.

 

tominal_0-1673298892246.png

 

Hope that helps!

 

P.S. thank you @TiphaineCuisset for the mentions! I love helping out.


Thomas Johnson
Community Champion


Kahu Software LLC
A Texan HubSpot consulting firm
https://kahusoftware.com
aparisi
Participant

List internal values of a property programmatically

SOLVE

Thanks, @tominal and @TiphaineCuisset!

0 Upvotes
TiphaineCuisset
Community Manager
Community Manager

List internal values of a property programmatically

SOLVE

Hi @aparisi 

 

Thank you for reaching out.

 

I want to tag one of our experts here - @tominal do you have any thoughts for @aparisi on this? 

 

Thank you!

Best

Tiphaine


Saviez vous que la Communauté est disponible en français?
Rejoignez les discussions francophones en changeant votre langue dans les paramètres !

Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !


0 Upvotes