Need help pulling labels for internal values

I’m using Hubspots API to pull ticket data as well as associated companies and contacts. A lot of the data I pull (like ticket owner, dealstage, ticket name) comes out as IDs (the internal values) instead of the labels (the names etc). Is there any way to pull labels instead of internal values or some way that I can map them within my code?

Hi @MH1279

we can only get the values from HubSpot from their internal names as they are unique for every property.

Now to map them with your code use internal name of the property and map them with the values in your code.

Hope this will helps you out. Please mark it as Solution Accepted & Upvote to help other Community member.
Thanks!

That makes sense. There are certain internal values that I am mapping within my code fairly easily, the one issue is that there are properties I’m pulling from Hubspot where the internal values will continue to change (more additions) over time. If there’s no way to pull labels from Hubspot via code that would mean going into the code and manually adding the new internal values/labels mapping every day.