Get recent engagements API


#1

Even though we are passing offset and count, API is returning same result, paging actually not behaving as it should. Both of the URL are returning exactly same result.

https://api.hubapi.com/engagements/v1/engagements/recent/modified?hapikey=key&count=100&Offset=1&since=1537772972

https://api.hubapi.com/engagements/v1/engagements/recent/modified?hapikey=key&count=100&Offset=101&since=1537772972

Can you please guide what is wrong here and why API is not behaving the way it should?


GET Recent Engagements API: different Offset Values give same results
#2

Hi @Harshdeep_Khatri,

Would you share your Hub ID? I'd like to run some tests and investigate further.


#3

Not sure of hub id but our account id is 502973


#4

Hey @Harshdeep_Khatri,

That's perfect; they're the same.

It looks like you're getting the same results because you've capitalized the "O" in Offset. Per this documentation, it should be offset with a lower-case "o."

If you try the request URLs:

You should receive different data.


#6

Wow, I didn't realized that, thanks for pointing out that. I have taken glanced and it looks working, I will have deepr look and mark this case resolved. Thanks.


#7