Users API pagination

  • 27 January 2023
  • 1 reply
  • 13 views

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

 

 


Comments

Badge +2

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"

 

Reply