APIs & Integrations

hcmlopes
Mitglied

Get contact owner name as property ?

lösung

I built a little app that requires me to retrieve contacts in a given list with certain contact properties.  All of the properties work fine and as expected but as far as the contact owner I have only found information about getting the hubspot_contact_id but I would like to get something that is more identifiable like the email or name.

 

Is making a separate API call based on the contact owner id the only way of getting this information ?

0 Upvotes
1 Akzeptierte Lösung
cbarley
Lösung
HubSpot-Alumnus/Alumna
HubSpot-Alumnus/Alumna

Get contact owner name as property ?

lösung

Hi @hcmlopes , at this time, we only return the owner ID. You'll need to query this endpoint to match the ID's with the emails. You should be able to save the owners to a dictionary of some sort so you wouldn't have to query that endpoint more than once. 

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
2 Antworten
cbarley
Lösung
HubSpot-Alumnus/Alumna
HubSpot-Alumnus/Alumna

Get contact owner name as property ?

lösung

Hi @hcmlopes , at this time, we only return the owner ID. You'll need to query this endpoint to match the ID's with the emails. You should be able to save the owners to a dictionary of some sort so you wouldn't have to query that endpoint more than once. 

0 Upvotes
hcmlopes
Mitglied

Get contact owner name as property ?

lösung

Thank you, thats what I thought but wanted to make sure I wasn't missing something,