How get next portion of recently updated contacts


#1

I want to get recently updated and created contacts.


There is two fields for pagination: ‘timeOffset’ and ‘vidOffset’.
As i see, i should use Unix time stamp for the first one, but there is no information about Time Zone.
Is anybody can clarify it?
And what about ‘vidOffset’? Should i use the same value from response to get next page?


#2

Hi @Aeliot-Tm

Timestamps in HubSpot are always in UTC time, and always in milliseconds.
1427994000000 would be 02 Apr 2015 17:00:00 UTC.

vidOffset is included with the response, so that you know what offset to use in the next requests.

There’s a more thorough explanation here:
http://developers.hubspot.com/docs/faq/how-do-i-use-vidoffset-and-timeoffset