APIs & Integrations

WChi
Participant

How to get HubSpot User fields returning label instead of internal value

SOLVE

Hi there, 

We are using API to pull data to our database and we would like to pull a HubSpot User Field there. However, when the data is pulled, it is returning as a string of numbers which is the internal value. Is there any ways to return the data as the label?

1 Accepted solution
WChi
Solution
Participant

How to get HubSpot User fields returning label instead of internal value

SOLVE

Hi @Humashankar , unfortunately thats not what i'm looking for. I have manage to find a workaround way by setting up a new property and reassign based on workflow.

View solution in original post

5 Replies 5
GRajput
Recognized Expert | Platinum Partner
Recognized Expert | Platinum Partner

How to get HubSpot User fields returning label instead of internal value

SOLVE

Hi @WChi 

 

"Regarding the retrieval of the label from the API, I wanted to clarify some information. Unfortunately, we are unable to retrieve the label directly from the API. However, I have identified an alternative approach to achieve this.

To obtain the label, you will need to follow these steps:

1. First, please obtain the internal value of the HUbspot user field.
2. Once you have the internal value, you will then need to access the Properties API to perform a lookup and retrieve the corresponding label.

 

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!




Gaurav Rajput
Director, MarTech( Growth Natives)

Book a meeting


0 Upvotes
WChi
Participant

How to get HubSpot User fields returning label instead of internal value

SOLVE

Hi @GRajput, can you share how we can obtain the internal value of HubSpot user? My developers tried several ways but did not work.

0 Upvotes
Humashankar
Key Advisor

How to get HubSpot User fields returning label instead of internal value

SOLVE

Hi @WChi 

A similar topic has been previously discussed in the community, and I've included a reference link for your convenience

Solved: HubSpot Community - Custom Properties - label vs internal value - HubSpot Community

 

Take a look and see whether it helps to sovle your use case.

 

Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards

Humashankar VJ
HubSpot Community Champion and enthusiast | Engineering Manager
0 Upvotes
WChi
Solution
Participant

How to get HubSpot User fields returning label instead of internal value

SOLVE

Hi @Humashankar , unfortunately thats not what i'm looking for. I have manage to find a workaround way by setting up a new property and reassign based on workflow.

Humashankar
Key Advisor

How to get HubSpot User fields returning label instead of internal value

SOLVE

Hi @WChi 

I'm glad you could find a workaround.

Humashankar VJ
HubSpot Community Champion and enthusiast | Engineering Manager
0 Upvotes