Overview
Every Truto team gets three environments — development, staging, and production — and they share nothing on the data plane. An API token issued in staging can't see an integrated account in production, and a method you add to an installed integration in development doesn't exist in the other two until you add it there as well.
Skip the reading — fast path for coding agents
truto environments list -o json
/skill truto-cli
What are Environments?
An environment is the boundary around one set of installed integrations, the integrated accounts connected to them, the API tokens that authenticate calls against them, the webhooks that fire on them, and any per-integration overrides — Unified API mappings, custom proxy methods, custom resources — that you've layered on top. The API token picks the environment. Dashboard users who can see several environments pick one with the environment menu or pass environment_id.
Switch environments
Use the environment menu next to the Truto logo. Most dashboard pages show only the selected environment. Members see only the environments an admin gave them, and admins see all of them (Team members).
What each environment holds
| Per environment | Shared by the team |
|---|---|
| API tokens, integrated accounts, tenants, installed integrations and their overrides, webhooks, sync jobs, workflows, datastores, notification and observability destinations, static gates | Team members and their roles, billing, SSO and SCIM, and the definitions of the integrations and Unified APIs your team created (each installed per environment) |
API tokens are specific to an environment
Every API token is created inside one environment and only resolves resources from that environment. Listing accounts with a staging token returns staging accounts; the same call with a production token returns production accounts, and there's no token shape that spans both. On any data-plane call, environment_id is inferred from the token automatically — you don't pass it as a query parameter.
Create and revoke tokens per environment from Settings → API Tokens.
Integrated accounts are specific to an environment
When your customer connects an account through Truto Link, the resulting integrated account belongs to whichever environment minted the link token. Running the same connection flow against a different environment creates a separate integrated account with a separate integrated_account_id. The customer connects once per environment they're meant to appear in.
Tenants sit inside the environment scope too: the same tenant_id value can exist in development, staging, and production as three separate tenants with three separate sets of integrated accounts.
FAQ
My new method works locally but 404s in production. Changes you make on an installed integration's settings, mappings or methods live in that environment only. If you added a method in development, production doesn't have it yet. Copy Unified API mappings and RapidForms with Import from Environment; re-apply other changes, such as methods, in production. Changes to an integration your team created, made in its own editor in the Catalog, apply to every environment it's installed in.
Can I create more than three environments? Email support@truto.one — environment creation isn't self-serve in the dashboard.
List your environments
With an API token this returns the token's one environment.
curl https://api.truto.one/environment \
-H "Authorization: Bearer $TRUTO_API_TOKEN"truto environments list -o json