APIs & Integrations

ricky23
Contributor

Not able to get the contact owner of a contact via the Contacts API

Hi,

I am trying to get the contact owner for recently modified/created contacts and I am using this End Point : GET /contacts/v1/lists/recently_updated/contacts/recent

But, I don't find the contact owner in the JSON Output.

Kindly help!

0 Upvotes
4 Replies 4
cbarley
HubSpot Alumni
HubSpot Alumni

Not able to get the contact owner of a contact via the Contacts API

Hey @ricky23, Apologies for the delay here.

The best way to ensure you're getting the owner property is to use the "Property" param in the request URL as per the docs under "optional parameters". Your URL would look something like this:

https://api.hubapi.com/contacts/v1/lists/recently_updated/contacts/recent?hapikey=xxxxxxxxxx&count=1...

Make sure to use the internal name of Contact owner, which is as in the url, hubspot_owner_id

0 Upvotes
ricky23
Contributor

Not able to get the contact owner of a contact via the Contacts API

Waiting for a response.

0 Upvotes
ricky23
Contributor

Not able to get the contact owner of a contact via the Contacts API

Waiting for a response.

0 Upvotes
ricky23
Contributor

Not able to get the contact owner of a contact via the Contacts API

Waiting for a response.

0 Upvotes