Retool APIs to list Apps, Users & Roles

It would be great to have access to those info through API, all based on current account obviously:

  • User list
  • App list
  • Role list along with their members and access
1 Like

Hello! Just want to give a quick update here. For Enterprise users Retool recently made the SCIM user API available on Cloud for user management. At the moment, bringing the same API to self-serve users isn't part of the road map but as the API expands certain features may be made more widely available. I'll try and post here again if that is the case!

Hey :slight_smile:
User listing works great, yes!

Since the topic still open, I'd like to ask about filters.
Trying to get all active users with no luck:
curl '"true"' -H 'Authorization: Bearer retool_01hawdwbgajkchaeou9'
is it even possible?
And still get all users. Also example from the docs didn't work - username/nickname isn't "filterable".
retool v3.6

Hey @Punka
The only filter that can currently be applied on the GET /users endpoint is on userName. So there isn't a way to filter on active.

The example from the docs should work as long as the user has data in the userName column in the db.

Screenshot 2023-10-16 at 8.13.20 AM

If there is no user with that userName in the db, then an empty array is returned.

Wow, unexpected!
Looks like we're going to implement filtering outside retool's api.
Appreciate your help.