APIs & Integrations

jpaull
メンバー

Engagement Query Returns No Records

解決

I'm newly trying to create a simple integration.  I have it where it successfully pulls records from the sample database for contacts.  However, when I do it for Engagements the resultset is 0 even though I have verified that there are indeed records.

 

The query looks as follows:

https://api.hubapi.com/engagements/v1/engagements/paged?hapikey=<apikey>&limit=2

 

but it returns:

{"results":[],"hasMore":false,"offset":0}

Any direction is appreciated.

0 いいね!
1件の承認済みベストアンサー
WendyGoh
解決策
HubSpot Employee
HubSpot Employee

Engagement Query Returns No Records

解決

Hi @jpaull,

 

I hope all is well with you 😃

 

Are you trying to pull the records from your dev test portal 6286184?

 

If that's the case, when looking at the contacts in the portal, I'm only able to see two sample contacts. The sample contact doesn't get return when calling the Engagement APIs. I tried creating a sample contact "Wendy Testing" with a sample "Test" note and when I get all the engagements from the Get all engagements endpoint, I'm able to see the note engagement. 

 

Hope this helps to clarify!

元の投稿で解決策を見る

2件の返信
IsaacTakushi
HubSpot Employee
HubSpot Employee

Engagement Query Returns No Records

解決

I've added a note to the Get all engagements endpoint documentation stating that sample contact engagements will not be returned.

Isaac Takushi

Associate Certification Manager
WendyGoh
解決策
HubSpot Employee
HubSpot Employee

Engagement Query Returns No Records

解決

Hi @jpaull,

 

I hope all is well with you 😃

 

Are you trying to pull the records from your dev test portal 6286184?

 

If that's the case, when looking at the contacts in the portal, I'm only able to see two sample contacts. The sample contact doesn't get return when calling the Engagement APIs. I tried creating a sample contact "Wendy Testing" with a sample "Test" note and when I get all the engagements from the Get all engagements endpoint, I'm able to see the note engagement. 

 

Hope this helps to clarify!