Users API pagination

  • 27 January 2023
  • 1 reply
  • 16 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

Userlevel 1
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