APIs & Integrations

DaveLong51
Member

API showing contact property "Label" instead of "Internal Value"

My dev team is trying to update contacts’ property values via the API; they need to identify the correct value by the property’s Internal Value, but they are only seeing the Label. I was under the impression that the API used Internal Value rather than Label, but can’t figure out what the issue is. Any guidance would be appreciated!

0 Upvotes
1 Reply 1
Dadams
HubSpot Employee
HubSpot Employee

API showing contact property "Label" instead of "Internal Value"

Hi @Dave

If you’re looking at the property in HubSpot, you can view the internal values for the options by clicking the Show internal values link that will be at the top of the list of options. Otherwise, you can get the values and labels for the options using the properties API:

Get a Contact Property | Contact Properties API

GET /properties/v1/contacts/properties/named/:property_name - Endpoint to get an individual company property

0 Upvotes