Yes, access token in the header of the request Screenshot by Lightshot
Curl request doesn't work too. I've tried following command: curl --location 'https://<domain>/api/v1/resources' --header 'Authorization: Bearer retool_sk_<token>'
For building out custom UI - I think the best place to do it might be within an app, what logic are you looking to add?
I need a page for admin to create set of apps, resources and modules based on a selected preset.
If i could use an API to create user, app, module then it'll solve all my issues
Ahh, the key for the API is not the one listed at the bottom of the "Beta" tab in your settings. In order to use the API you'll want to generate a new key from the API tab of your settings page, it should have the prefix retool_ instead of retool_sk_:
If this tab isn't available to you it may be because the feature hasn't been enabled for your org. If that's the cause could you either DM me or write in directly via chat or email@example.com so we can look into it with you?
As for the app you're describing, it looks like that isn't possible at the moment we can report back here when there's more support for dynamic app generation though!