APIs & Integrations

Tony_Chen
Member

Missing a contact when calls all/contacts/recent

Missing a contact when calls all/contacts/recent
However, I can retrieve the contact by calling get contact/email API.

0 Upvotes
3 Replies 3
Tony_Chen
Member

Missing a contact when calls all/contacts/recent

Just another quick thing, the paging function also isn’t working right now when I use vidoffset.
It keeps return the same vidoffset and has more always true.
Your demo URL has the same issue: https://api.hubapi.com/contacts/v1/lists/all/contacts/recent?hapikey=demo&count=2&vidOffset=4401874

0 Upvotes
Dadams
HubSpot Employee
HubSpot Employee

Missing a contact when calls all/contacts/recent

@Tony_Chen if you’re using one of the Contacts API endpoints with /recent in it, you’ll need to use both the vidOffset and timeOffset parameters to get the next page of results.

https://developers.hubspot.com/docs/faq/how-do-i-use-vidoffset-and-timeoffset

0 Upvotes
Tony_Chen
Member

Missing a contact when calls all/contacts/recent

Thanks @dadams
Your solution fixed my problem.

0 Upvotes