APIs & Integrations

jpaull
Mitglied

Engagement Query Returns No Records

lösung

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 Upvotes
1 Akzeptierte Lösung
WendyGoh
Lösung
HubSpot Employee
HubSpot Employee

Engagement Query Returns No Records

lösung

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!

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten
IsaacTakushi
HubSpot Employee
HubSpot Employee

Engagement Query Returns No Records

lösung

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
Lösung
HubSpot Employee
HubSpot Employee

Engagement Query Returns No Records

lösung

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!