Retool Public App Hide REST API Credentials
Never place API_BEARER_TOKEN inside Retool source. RealComposer injects them when calling https://jsonplaceholder.typicode.com/users/{{query.userId}}, so browsers see only a client token.
Retool resources store credentials on the Retool backend, so queries against them do not expose secrets. JavaScript queries, transformers, and temporary state run in the browser, so keys placed there are visible to every user of the app.
Stored and used by the Retool backend.
Visible in the browser. Never use for secrets.
Use REST or database resources so secrets stay server-side.
Read-only users for dashboards limit damage from mistakes.
Restrict who can edit apps and use write queries.
They run in the browser and appear in network traffic.
Any app editor can run destructive queries.
Add a RealComposer pipeline as a REST resource so Retool apps get merged, slimmed data without holding upstream secrets.
No. Credentials stay on the Retool backend. Values in JS code or state are visible.
Never place API_BEARER_TOKEN inside Retool source. RealComposer injects them when calling https://jsonplaceholder.typicode.com/users/{{query.userId}}, so browsers see only a client token.
Internal tools query tickets without embedding subdomain API tokens in queries. For "call zendesk api from retool without exposing api token", store ZENDESK_API_TOKEN in Secret Vault, call https://{{secrets.ZENDESK_SUBDOMAIN}}.zendesk.com/api/v2/tickets.json from a Worker, and let Retool hit only https://realcomposer.com/v1/workspace/call-zendesk-from-retool-securely with an rc_live_ client token.
Zendesk requester and Stripe customer charges for support macros. For "merge zendesk with stripe customer support view", store ZENDESK_API_TOKEN, STRIPE_SECRET_KEY in Secret Vault, call https://{{secrets.ZENDESK_SUBDOMAIN}}.zendesk.com/api/v2/tickets.json from a Worker, and let Retool hit only https://realcomposer.com/v1/workspace/merge-zendesk-with-stripe-support with an rc_live_ client token.
Fix "how to connect stripe to retool securely" by pointing Retool at RealComposer. Vault secrets authenticate https://api.stripe.com/v1/customers/{{query.customerId}}; client tokens gate your public URL.
Retool browsers cannot call https://jsonplaceholder.typicode.com/users/{{query.userId}} directly because of CORS and hidden credentials. RealComposer responds to OPTIONS and proxies authorized traffic.
Retool queries RealComposer for Paddle write operations. For "retool connect paddle refunds securely", store PADDLE_API_KEY in Secret Vault, call https://api.paddle.com/adjustments?action=refund&per_page=20 from a Worker, and let Retool hit only https://realcomposer.com/v1/workspace/retool-paddle-refunds-secure-proxy with an rc_live_ client token.
The principle of least privilege states that every user, service, and credential should have only the minimum permissions required to perform its task. For APIs, this means using restricted keys, narrow OAuth scopes, and client tokens limited to specific endpoints.
Low-Code API IntegrationLow-code API integration is connecting visual app builders such as Bubble, FlutterFlow, Webflow, and Retool to external APIs through configuration rather than custom backend code. Builders define endpoints, headers, and response mappings inside the platform editor.
API AggregationAPI Aggregation is the process of combining multiple distinct API calls into a single unified HTTP request. An intermediate edge gateway queries multiple upstream services in parallel, merges the returned data, and delivers a consolidated response to the client, drastically reducing mobile latency and network overhead.