APIs & Integrations

ricky23
Contributor

Is it possible to get the Hubspot Owner Name rather than the Email Address via the Deals API

Hi,

I was wondering whether it is possible to get the Hubspot Owner Name of a deal rather than the Email Address via the Deals API?

Ricky

0 Upvotes
3 Replies 3
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Is it possible to get the Hubspot Owner Name rather than the Email Address via the Deals API

Hi @Srinivas_Borra,

Can you give me a link to an example deal that has this issue?

0 Upvotes
sriniborra
Participant

Is it possible to get the Hubspot Owner Name rather than the Email Address via the Deals API

Hello @Derek_Gervais @ricky23 , when I'm trying to get the owner name i.e. Deal owner - it gives me the old value not the current value which exists with the deal.

For example - I created XYZ deal in May 2018 and it was owned by me. In June 2018, I gave the ownership to abc(my peer). When I'm trying to call the deal data - I'm getting my name as Deal Owner instead of abc(my peer).

Could you please suggest a way to get the current deal owner details.

Thanks,
Srini

0 Upvotes
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Is it possible to get the Hubspot Owner Name rather than the Email Address via the Deals API

Hi @ricky23,

It's not possible; you'll need to get the owner's information using the Owners API:

Get Owners | Owners API

GET /owners/v2/owners/ - Get a list of owners from the HubSpot API.