Skip to main content
Solved

Users API pagination


Integration S

Hi Colleagues

I'm trying to send a request for the users list but it only return 200 users and it doesn't have a link for the next page although I'm seeing 2K + users

 

 

Best answer by jkrueger

An explanation on how to use the link header to retrieve subsequent pages can be found in the response to this post

View original
Did this topic help you find an answer to your question?

Comments

Michael B
Forum|alt.badge.img+4
  • Lucid product team
  • 81 replies
  • January 27, 2023

Hello

The pagination Link is in the the response headers. An example is shown below.  For more information see: getting-started-pagination

HTTP/1.1 200 OK Content-Type: application/json 
Link: https://api.lucid.co/users?pageSize=20&pageToken=eyJvIjoiMSIsImUiOjE2Mjg2OTc3OTF9; rel="next"

 


Forum|alt.badge.img+1

Hey Michael

Would you be kind to explain how we should actually use the information provided within the header?

documentation is not clear on how to do it, we need at least one example...


jkrueger
Forum|alt.badge.img+2
  • Lucid product team
  • 11 replies
  • Answer
  • September 11, 2024

An explanation on how to use the link header to retrieve subsequent pages can be found in the response to this post


Reply