GET_USERS
The GET_USERS handler retrieves a paginated list of users, with support for sorting and cursor-based pagination.
Interaction Format
To interact with this handler, use the following format:
Get the latest 50 users (default):
Get the oldest 100 users:
Get the next batch of users (cursor-based):
Input Parameters
Field
Type
Required
Default
Description
limit
Number
No
50
Number of users to retrieve (max 1000).
sortBy
String
No
"latest"
Sort order: "latest" or "oldest".
cursor
String
No
None
User ID for pagination (optional).
Validations
limit: Must not exceed 1000.
cursor: If provided, must be a valid user ID.
Response Format
Success
Error
Last updated