APIs & Integrations

RonaldoRubens22
Member

get name with property

SOLVE
The bdr field that I have with my deals returns an internal id instead of a name (string). How can I return this name?

RonaldoRubens22_0-1708974861478.png

 

 

0 Upvotes
1 Accepted solution
Jaycee_Lewis
Solution
Community Manager
Community Manager

get name with property

SOLVE

Hey, @RonaldoRubens22 👋 Having the internal value is the expected behavior. It's not possible to “force” the endpoint to return the label and not the internal value. 

 

If your `bdr` property corresponds to a HubSpot User ID you can make a request to the Owners API and get back the name of the user — GET /crm/v3/owners/{ownerId}. 

 

I hope this helps! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

View solution in original post

0 Upvotes
1 Reply 1
Jaycee_Lewis
Solution
Community Manager
Community Manager

get name with property

SOLVE

Hey, @RonaldoRubens22 👋 Having the internal value is the expected behavior. It's not possible to “force” the endpoint to return the label and not the internal value. 

 

If your `bdr` property corresponds to a HubSpot User ID you can make a request to the Owners API and get back the name of the user — GET /crm/v3/owners/{ownerId}. 

 

I hope this helps! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes