Retool API - Create users

Hi there retool team,

We're building a SaaS and so far we've added users manually. However, building automation from our check out page, I realized that Retool's API for users is only for enterprise clients, is that accurate? Currently I can create tokens only for Apps, Retool DB, Retool RPC and Space.

Addding new users should be something smooth and seamless, I do hope there is a way to do this.

Thanks!

3 Likes

Even though the system allows me to create a token, it doesn't work either for the allowed scopes. This picture is for users, but it returns the same for all other endpoints

Hi @MiguelOrtiz, you can use the API outside of an Enterprise plan to embed Retool. But automated onboarding is a Enterprise plan feature only.
​

1 Like

Thanks for confirming Paulo.

As feedback, I think Retool would benefit from expanding the API (at least provisioning users) to the professional plan. This would allow small startups and bootstrapped companies to launch their SaaS smoothly, with consequental user increase for retool. It seems this is legacy of focusing on enteprise companies only, but the more you focus to enable interaction with external clients, the more this will become a need.

Ironically retool is currently amazing for API connections with almost everything, except their own...

4 Likes

Thank you for your feedback, @MiguelOrtiz! I extended it to our team internally. :slightly_smiling_face:

1 Like

yes totally agree api should be for professional users too

5 Likes

Although there are no current plans to expand this feature beyond our Enterprise plan, we welcome your feedback and +1s. We're constantly monitoring the forum and advocating on your behalf. :slightly_smiling_face:

8 Likes

Hey, since now retool have portals I have a internal app so my internal users can create external users, but is this possible with current Retool API on Business Plan? I've been trying but the return of https://retool.com/api/v2/apps/users/xxxx is a weird html:

<!DOCTYPE html>
<html lang="en">

<head>
	<meta charSet="utf-8" />
	<meta http-equiv="x-ua-compatible" content="ie=edge" />
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
	<meta name="google-site-verification" content="0HkDzKrq0wh58OrKXIvYLVllPMN5VhMXxpWlCGgIh3Y" />
	<script id="intellimize-script">
		<!-- Intellimize start 
		-->
	<style>
		.anti-flicker,
		.anti-flicker * {
			visibility: hidden !important;

....
1 Like

Hi @JuanPablo, this is only possible on the Enterprise plan. On Business, we can only use the API to embed our apps.

2 Likes

Thanks for your answer @Paulo ! Taking into account that the cost of the external User is $10 would be great to have an improved way to handle external user creation. Since external apps are also available in Business Plan managing them trough the admin configuration is a bit off, I would love to have a query option to create them, or to create a internal app for my users that want to create a External User.

Thanks!

1 Like

Thank you for your feedback! I'll extend it internally. :slightly_smiling_face:

2 Likes

I know this is a old thread but I'm going to also throw the same request. Using Retool as a portal for some clients we're finding the limitation on the Retool API to be a bit too strong requiring a Enterprise license.

To use Retool as a Portal we need a easier way to submit a request to send a invite versus having to do it manually. I hate to be vocal but its a standard feature that should at least be enabled on the Business plan. Really hoping higher ups take this into consideration.

5 Likes

Did anyone manage to find a work around of this? We are also building a SaaS tool and would like external users to self onboarding themselves through our website. We are on business plan but doesn't seem to have access to Retool API to create automated onboarding flow. Help in this direction would be greatly appreciated. @Paulo @MiguelOrtiz

Hey there @Ashish_Agarwal,

Nope, not a lot of updates. Best workaround is to send the invite to the user so he/she can accept, see helpful info around invites here:

1 Like

thanks @MiguelOrtiz , i will go ahead and send manual invites for now but it doesn't solve the problem for us. How am i suppose to have users sign up themselves on our website? How am i suppose to create an automated onboarding for users? We are a small startup so affording enterprise plan is not possible for us @Paulo could you please help?

Welcome to the community, @Ashish_Agarwal! Thanks for reaching out.

I think @MiguelOrtiz's point is that you can automatically send invites out to new users via the corresponding API endpoint. All of the User Invite endpoints are available on a Business plan.

Looking back at earlier posts in this topic, this might also be of interest to @DannyF!

Have you had a chance to review this, @Ashish_Agarwal?

Really hoping there's more push on this request still. Considering other platforms have it as a general feature, being able to perform new user creations would make it much easier to add as a simple action on admin facing apps.

Even if it's made into a Retool Action of sorts where it's done as a query/action on apps only would be helpful.

The new endpoints allowed on Business is good and all, but the very main feature is key. :pray: Hoping admins at Retool reconsider the request.

1 Like

With the few API endpoints that were released recently (invites and attributes), I think you can still implement self-service onboarding.

On your marketing website, you'd have a sign-up page. Capture name, email, etc. But not password. Have some copy that says something like "We'll send you an email to confirm. Follow the link to create your account."

When the user submits the form, you can invoke a Retool workflow using its webhook trigger
Pass the email + name to the workflow, plus any other relevant data you wish to store about the user.

In the workflow, use the Retool /invite_user API endpoint (Create a new user invite | Retool Docs) to invite the user. They will receive the standard invite email (I think!)
This also helps ensure they've entered the correct email!

Add any user attributes in the workflow with the /user_attributes endpoint.

When the user follows the email, they'll be able to set their password and log-in to their account.

1 Like

Which endpoints have been enabled on business?