Hello,
We want to automate the export of a specific Company property (it is a dropdown list) via API or webhook, to feed an external tool.
What is the best way to do it?
If API, which API endpoint can I use?
I saw the endpoint to get all company properties (https://legacydocs.hubspot.com/docs/methods/companies/get_company_properties) but I’d like to export a specific company property.
Thanks!
@GPalvadeau
You want to get the value of that property for each record?
I would look at the newer company endpoints here
Webhooks would be a good way to set this up as well. Here are the docs on t hat
Hi Dennis,
Thanks a lot for your answer.
I actually want to export the dropdown list that appears in this property when we select a value.
We manually update that dropdown list of values and this list will be the “source of truth” for other purposes outside HubSpot.
I may have missed something on this link, company endpoints here, but it doesn’t seem to explain how to export the list of all valid values for a Company Property.
Do you have another suggestion?
Thanks for the help!
@GPalvadeau
Gotchya!
You can use the properties endpoint and read the specific property
https://api.hubapi.com/crm/v3/properties/company/specific_prop
Excellent, that’s exactly it!
Thanks a lot Dennis!!!