APIs & Integrations

Roger_Parkinson
Member

Getting ownerid associated with Users

I am going to use the API to create Contacts and I want to assign the contacts I am creating to users. I am assuming that I have to populate the internal ID of the user into the HubSpotOwnerID field as part of the create API Put. How do I get that ID for the users?

0 Upvotes
2 Replies 2
Roger_Parkinson
Member

Getting ownerid associated with Users

I think I found the answer to my question in the Owner object.

0 Upvotes
Dadams
HubSpot Employee
HubSpot Employee

Getting ownerid associated with Users

@Roger_Parkinson Owners are in fact what you’re looking for for this. Any time you add a user to HubSpot, a corresponding owner is created for that user. You can get a list of all of your owners using this endpoint:

Get Owners | Owners API

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

0 Upvotes