APIs & Integrations

andrey
Member

Different values for contact owner in UI and API

I'm trying to understand why API shows different owner from what I see in UI. It brings some inconsistencies in our DB. Is it correct to assume that 'hubspot_owner_id' in API call should always be the same as 'Contact owner' shown in UI? If not, which JSON field 'Contact owner' is mapped to?

Thanks!

0 Upvotes
2 Replies 2
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Different values for contact owner in UI and API

Hi @andrey,

hubspot_owner-id is the internal property name of the 'Contact Owner' property. The property is stored internally as an ID, which is translated to the owner's human-readable name on the front end. To do this translation yourself, you'll want to use the Owners API:

0 Upvotes
andrey
Member

Different values for contact owner in UI and API

Thanks Derek, I've already clarified that point, the thing that
confused me was source-id attribute in versions, for some reason
I thought it was the email related to value.