Retool
The Retool API enables you to programmatically perform actions across your organization and its spaces. You can perform RESTful requests to manage a wide range of objects, such as adding users or updating resource configurations.
Base URL
All endpoints are relative to your Retool instance URL:
https://{your-retool-instance}/api/v2
Authentication
The Retool API uses HTTP Bearer authentication scheme with API tokens to authenticate requests. Users with sufficient permissions can create API tokens in the organization's Retool API settings. Each token can be scoped to specific permissions—only grant the scopes needed for your use case.
Authorization: Bearer YOUR_API_TOKEN
Versioning
The API version corresponds to the Retool release version in which it was shipped. This means the API version reflects the features and endpoints available in that release. When you upgrade your Retool instance, the API version updates alongside it and any new endpoints or capabilities introduced in that release become available.
Operations
Approve or deny an access request
List configuration variables and their values
Delete a configuration variable
Get a configuration variable
Update a configuration variable
Create a configuration variable
List custom component libraries
Get a custom component library
List revisions of a custom component library
Create a custom component library revision
List files for a custom component library revision
Create a custom component library
Remove a user from a group
Add user invites to a group
Remove a user invite from a group
Get IP allowlist by region
Delete an observability configuration
Update an observability configuration
List observability configurations
Create an observability configuration
Get organization AI settings
Update organization AI settings
Get organization analytics integrations
Get organization settings
Update organization settings
List objects a group can access
Delete a resource configuration
Get a resource configuration
Update a resource configuration
List resource configurations
Create a resource configuration
Delete a role grant for a subject
Get role grants for a subject
Delete source control configuration
Get source control configuration
Create source control configuration
Set source control configuration
List source control deployments
Delete a release manifest
Delete element from release manifest
Set release version for element in manifest
List all available releases for the given element
Create a release artifact
Get source control settings
Set source control settings
Test source control connection
Test source control changes
Copy elements to another space
List organization user attributes
Delete an organization user attribute
Update an organization user attribute
Create an organization user attribute
Delete a user attribute on a user invite
Add or update user attributes on a user invite
Reset a user's two-factor authentication
Create or update a user attribute