The Softr API currently allows for the creation and deletion of users. I would also like to be able to update a current users user-group. This would be a new endpoint, and preferably you could pass the email of an existing user to identify the user. Thanks!
Hi @Jacobboyce !
Thanks a lot for reaching out and for the request! Can you please elaborate more on why are you looking for such an endpoint and What is the specific use case or workflow for updating user groups via API?
- For example, is it based on external system actions, or is it about better scaling existing workflows?
Have you explored syncing users via the database? - If the database reflects the required user groups, syncing might already solve this without additional endpoints.
Looking forward to hearing from you!
Best,
Hey @Andranik, thanks for following up. I have users stored in two separate places, as well as a system that allows anyone to sign up to a demo version of my softr site. I have looked into syncing, but it fails to accomplish my use-case as I don’t want to write everyone to my database, but I do want to write people in my database to softr (A one-way sync would accomplish this, but not the current two-way sync).
Therefore I want to accomplish this with the softr API. I would ideally pass both a user identifier (e.g. email) and a json outlining the fields I want to change and their new values. This would be useful for anyone who doesn’t have their user base synced, but does still want to programmatically change user groups. Let me know if you have any more questions! Happy to further elaborate
Hi @Jacobboyce !
Thanks for elaborating further on your use case! Based on what you’ve described, I believe Softr’s Sync Users feature can address your needs. With this functionality, you can set up filters to sync only the users from your database (e.g., Airtable) that meet specific criteria. This way, you can control which users are written to Softr while avoiding syncing everyone.
For example, you can define conditions like:
- Only syncing users with a specific status (e.g., “Approved” or “Active”).
- Syncing users that belong to a particular group or role.
This gives you the flexibility of a one-way sync, where only the filtered records are sent to Softr, without the reverse process impacting your database.
This does not solve my use case. I have a set of users larger than the users I am tracking in Airtable (AT). The other users come from other systems, and I don’t want to add them to the AT base. Thus a sync only further complicates the issue, as new softr users would automatically be added to AT, which is not desired. Hence why I believe an updated API is necessary. Let me know if I am misunderstanding something here!
Hi @Jacobboyce,
Thanks for the clarification! I now understand that your goal is to manage user groups programmatically.
Currently, Softr’s API does not support updating user groups, but I see how this could be valuable for cases like yours, where user data is managed across multiple systems without needing full sync functionality.
I’ll pass this feedback along to our team as a feature request.