Can someone please help me know what is vid-offset with an example ?
Thanks
Can someone please help me know what is vid-offset with an example ?
Thanks
@KGaur ,
The vid-offset basically a method of paging that is used on some of our older APIs.
There is a maximum number of records that can be returned at once. Once that limit is met and if there are more, the vid-offset will be included. You will then use this vid-offset as a query param in your subsequent call to return the next set of records. Rinse and repeat until you reach the end.
Pretending you were querying the list all contacts endpoint and that the vid-offset is 2001, you would then construct your second request as such:
https://api.hubapi.com/contacts/v1/lists/all/contacts/all?vidOffset=2001