Listing events for a user

Hi, I am having issues when querying all events for a user. The query always returns an empty list.

This is my url for getting the events:
https://api.intercom.io/events?user_id=1&type=user

The response came back
{
“type”: “event.list”,
“events”: ,
“pages”: {
“since”: “https://api.intercom.io/events?intercom_user_id=5d9de4d29fa5ec1c9931f167&type=user&since=1391691573013
}
}

Hey @Shi_Jiang :wave:

It sounds like this user might not have any events registered with their account in the last 90 days:
image

Your “since” parameter is also interesting. It doesn’t look like this parameter is mentioned anywhere in our docs for the events endpoint:

I tested this parameter out and it doesn’t look like it works either.

“1391691573013” I’m assuming this value is using milliseconds. Our unix timestamps are expecting a seconds value so if this “since” parameter was working then I could also see this being an issue.

1 Like