APIs & Integrations

jpaull
Membro

Engagement Query Returns No Records

resolver

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 Avaliação positiva
1 Solução aceita
WendyGoh
Solução
HubSpot Employee
HubSpot Employee

Engagement Query Returns No Records

resolver

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!

Exibir solução no post original

2 Respostas 2
IsaacTakushi
HubSpot Employee
HubSpot Employee

Engagement Query Returns No Records

resolver

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
Solução
HubSpot Employee
HubSpot Employee

Engagement Query Returns No Records

resolver

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!