APIs & Integrations

hcmlopes
Membre

Get contact owner name as property ?

Résolue

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 Votes
1 Solution acceptée
cbarley
Solution
Ancien salarié HubSpot
Ancien salarié HubSpot

Get contact owner name as property ?

Résolue

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. 

Voir la solution dans l'envoi d'origine

0 Votes
2 Réponses
cbarley
Solution
Ancien salarié HubSpot
Ancien salarié HubSpot

Get contact owner name as property ?

Résolue

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 Votes
hcmlopes
Membre

Get contact owner name as property ?

Résolue

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