APIs & Integrations

hcmlopes
Membro

Get contact owner name as property ?

resolver

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 Avaliação positiva
1 Solução aceita
cbarley
Solução
Alunos da HubSpot
Alunos da HubSpot

Get contact owner name as property ?

resolver

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. 

Exibir solução no post original

0 Avaliação positiva
2 Respostas 2
cbarley
Solução
Alunos da HubSpot
Alunos da HubSpot

Get contact owner name as property ?

resolver

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 Avaliação positiva
hcmlopes
Membro

Get contact owner name as property ?

resolver

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