About Retool
Retool is a platform for building internal tools. Access to those tools is governed by Retool permission groups: a user’s groups decide which apps, resources and workflows they can use or edit. Serval connects to your Retool organization with an API token, keeps its user directory and group catalog in sync, and provisions access by adding users to and removing them from groups. The integration is marked Beta in Serval’s connect UI. Authentication: A Retool API token (bearer token) created in Retool’s Settings > API. The token’s scopes fully determine what Serval can read and write; Serval requests no permissions of its own. Where requests go: Retool Cloud organizations are served fromapi.retool.com; a self-hosted instance serves the API itself at https://<your-instance>/api/v2. Serval derives the right host from the Retool URL you enter.
Data sync: Background sync keeps Serval’s user directory and group catalog (with memberships) current. The Retool API has no change feed, so every sync is a full walk; both run on Serval’s standard schedule.
What the Retool integration enables
Get your credentials
You need the host you sign in to Retool at and an API token.Note your Retool URL
acme.retool.com; a Space host such as engineering.acme.retool.com works too, since every cloud host is served by the same API. For self-hosted Retool it is your instance’s hostname, for example retool.example.com.Open the API settings
Create a token
Serval), and select the scopes it should carry.Select scopes
users:read and groups:read for sync and the health checks. Add groups:write if Serval should manage group membership. Add further read or write scopes only for the Retool API calls your own workflows make.If the dialog offers only Retool RPC and Custom Component Libraries, with no Users or Groups scopes, the organization is not on an Enterprise plan. Retool’s user, group and permission endpoints exist only on Enterprise, so this integration cannot read that organization until the plan changes.Copy the token
Connect in Serval
Open the Retool connect form
Enter your Retool URL
https://. A trailing /api/v2 is tolerated, any other path is rejected, and plain http:// is rejected because Serval only reaches Retool over HTTPS.Paste the token
Submit
Verifying the connection
Serval runs four health checks against your Retool organization:Gotchas and troubleshooting
Every health check fails with 403 on a valid token
Every health check fails with 403 on a valid token
Health checks fail with 404 on a self-hosted instance
Health checks fail with 404 on a self-hosted instance
https://<host>/api/v2/spec, and compare the spec’s version with your release.Two Retool Cloud organizations on one team
Two Retool Cloud organizations on one team
Group admins keep their admin flag
Group admins keep their admin flag
Disabled users still appear in group rosters
Disabled users still appear in group rosters
No manager, department or title data
No manager, department or title data
A group created in Retool does not show up yet
A group created in Retool does not show up yet
Custom workflows see Enterprise-only responses as 403
Custom workflows see Enterprise-only responses as 403
Need help? Contact support@serval.com for assistance with your Retool integration.

