Skip to content

IntegrationsAnalytics

Mode API integration

Put Mode in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.

01Proxy API

Call the Mode API directly. Every endpoint, through Truto.

Truto’s Proxy API is a 1-to-1 mapping of the Mode API. You call us, we call Mode, and pass the response back in the same cycle. Truto handles authentication and token refresh.

On every plan, including Free.

How the Proxy API works

Proxy APIMode

GEThttps://api.truto.one/proxy/?integrated_account_id=…

Mode’s own response, passed back

02Unified API

Mode is in the Unified User Directory API. One call for every User Directory app.

Ask for groups, roles or users the same way for Mode and every other User Directory app. Truto makes Mode’s own call and returns the same data shape.

Add-on: $499 per category a month. 30-day trial on Free.

Mode is mappedSame call, same data shapeStart free

Unified User Directory API3 resources

03Sync and webhooks

Sync Mode data on a schedule. Sent to your webhook.

A sync job reads Mode records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.

On every plan, including Free.

04Custom actions

Add any Mode endpoint. With the Truto CLI.

Need a Mode endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any Mode path through the Custom API.

On every plan, including Free. Truto CLI

Use cases

Why integrate with Mode.

  1. Automate Mode user provisioning and deprovisioning

    SaaS companies building identity governance or SaaS management platforms need to sync employee lifecycle events to Mode — automatically creating accounts when analysts join and revoking access the moment they leave, preventing unauthorized access to sensitive data warehouse connections.

  2. Enforce least-privilege access across analytics tools

    Security and compliance platforms can pull Mode's user directory, group memberships, and role assignments to audit who holds Admin privileges, flag over-provisioned accounts, and enforce the Principle of Least Privilege across a customer's entire SaaS stack.

  3. Sync IdP groups to Mode for connection-level access control

    IT automation platforms can map identity provider groups to Mode Groups, ensuring that database connection access and report collection visibility stay perfectly aligned with organizational roles — without manual configuration inside Mode.

  4. Enable just-in-time privileged access to analytics data

    Cloud access management tools can temporarily add engineers to privileged Mode Groups when they request access to sensitive production data, then automatically revoke that group membership after a defined time window expires.

  5. Consolidate analytics license management

    SaaS spend management platforms can enumerate Mode users, detect inactive accounts still consuming paid seats, and trigger deprovisioning workflows to reclaim licenses and reduce costs.

What you can build

Ship these with Truto and Mode.

  • Automated Mode user lifecycle sync

    Provision and deprovision Mode user accounts in real time based on HR system or IdP events, using Truto's Unified User Directory API for Users.

  • Cross-platform group membership reconciliation

    Continuously sync group memberships between your customers' identity providers and Mode Groups to keep report collection and database connection access aligned.

  • Admin privilege audit dashboard

    Surface a real-time view of all Mode users with Admin roles so security teams can spot over-privileged accounts and take corrective action from your product.

  • Time-bound privileged group access grants

    Let end users request temporary membership in sensitive Mode Groups and automatically revoke access after a configurable TTL, enforcing zero-standing-privilege policies.

  • Inactive user detection and license reclamation

    Identify Mode users who haven't been active and trigger automated deprovisioning or downgrade workflows to optimize license spend.

  • Unified role normalization across BI tools

    Map Mode's role model (Admin, Member, etc.) into your product's standardized permission taxonomy alongside other analytics platforms using Truto's Unified Roles resource.

Security

Your customers’ Mode data stays theirs. Truto passes it through.

  • Records pass through

    Customer records are not kept. Truto fetches them when your product asks and passes them on.

  • Truto managed OAuth apps or yours

    Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.

  • SOC 2 · TYPE IIAUDITEDISO/IEC 27001CERTIFIEDGDPRHIPAACASA · TIER 2TAC SECURITY

    Audited and certified

    SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre

How it works

From zero to integrated. Start free, no card.

  1. Link your customer’s Mode account

    Use Truto’s frontend SDK to connect your customer’s Mode account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

  2. We handle authentication

    Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

  3. Call our API, we call Mode

    Truto’s Proxy API is a 1-to-1 mapping of the Mode API. You call us, we call Mode, and pass the response back in the same cycle.

  4. Unified response format

    Every response follows a single format across all integrations. We translate Mode’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about Mode on Truto.

What Unified APIs does Truto support for Mode?

Mode is supported through Truto's Unified User Directory API, which covers Users, Groups, and Roles resources. This lets you manage identity and access across Mode alongside other SaaS applications through a single API.

Are there pre-built Truto tools for Mode?

No pre-built tools are available yet. Mode tools are built on request — reach out to the Truto team and they'll scope and build the specific operations you need.

How does authentication work for Mode integrations?

Mode's API supports token-based authentication using API tokens tied to a user account. Truto handles the credential storage and token management so your end users can connect their Mode workspace without you building custom auth flows.

Can I manage Mode Groups and their memberships through Truto?

Yes. The Unified User Directory API includes a Groups resource, which maps to Mode's Groups — the mechanism that governs access to database connections and report collections. You can list, create, and manage group memberships programmatically.

Does Mode support SCIM provisioning?

Mode offers SCIM support on enterprise plans for automated user provisioning and deprovisioning. Truto's Unified User Directory API can work with Mode's REST API and SCIM endpoints to provide consistent user lifecycle management.

What kind of rate limits should I expect from Mode's API?

Mode applies rate limits to its REST API, though specific thresholds depend on your plan. Truto handles pagination and request throttling automatically, so you don't need to manage retry logic or rate limit backoff in your application code.

Mode

Get Mode integrated into your app

Sign up free, connect a test Mode account and make your first call today. No card and no sales call.