@aconsunji I don’t believe we have query parameters to sort the request by login time. However, last_login_time is a field returned by the api so you could easily sort the result once you fetch it.
@aconsunji for the list users endpoint, you can filter on user status (active, inactive, pending) or role id. We have a get user summary API to check how many licensed/unlicensed users you have in your account.