Skip to content

Security and permissions

View as Markdown

An AI tool connected to Tolinku can only do what you let it, and never more than you can do yourself. This page explains the rules. They’re the same for the management API.

Every connection and every secret API key has one of three permissions:

PermissionWhat it allows
ReadLook at everything: the setup, routes, banners, messages, pages, analytics and the docs. Run every check, such as the link tester and Setup health. Changes nothing.
Read and writeAlso create, change, delete and restore routes, smart banners, in-app messages, landing and bio pages and A/B tests. Also see webhook endpoints and their recent deliveries.
FullAlso change the app details, domains and subdomains, webhooks, audiences, the Appspace’s settings and the referral programme.

Full matches what only Admins and Owners can do in the dashboard. Changes of any kind also need the Standard plan or above (or the free trial). On the Free plan, every connection can only read, whatever its permission.

When you connect an AI tool by signing in, its permission in each Appspace is the lower of two things: the permission you picked when you approved it, and what your role in that Appspace allows.

Your roleThe most a connection gets
Owner, AdminFull
EditorRead and write
ViewerRead

So a Viewer’s connection can never change anything, whatever was picked. Tolinku works this out again on every request: if your role is lowered, or you’re removed from an Appspace, the connection loses that power, or that Appspace, on its very next call.

Every AI tool you connect by signing in appears under Account settings, then Connected apps: which Appspaces it reaches and with what permission, when you connected it and when it was last used. Click Revoke to end a connection; it stops working at once. See Connected apps.

Admins and Owners also see the apps their team connected to an Appspace on its API keys page, under Connected apps, and can revoke one there. That takes this Appspace away from the connection; any other Appspaces it reaches are left alone.

How sign-in works, for the curious:

  • It uses OAuth 2.1 with PKCE. Your AI tool never sees your password.
  • The approval screen is always shown. Nothing can skip it, even for an app you connected before or one asking for more.
  • For a web app, the approval screen shows where it will send you back to. An app on your computer that signs in through a local address goes back to your own computer, so that line isn’t shown. An app whose name Tolinku hasn’t checked is marked Unverified.
  • An app can only send you back to an address it gave when it was set up, and never to an address on Tolinku’s own domains or on an Appspace’s link domains.
  • The AI tool gets an access token that lasts an hour, and a refresh token to get a new one. Each refresh token works once. If one is ever used twice, the connection is ended, in case it was stolen.
  • A connection unused for 60 days needs you to sign in again.
  • Tokens are stored only as fingerprints, and are never put in a web address or a log.

A secret API key reaches only its own Appspace, with the permission set on the key: Read, Read and write, or Full. Admins choose it when they create the key and can change it later on the key’s page. Keys made before permissions existed are Read, so no existing integration gained the power to change things.

Publishable keys (tolk_pub_) can never use the MCP server or the management API: they ship inside apps, where anyone can read them.

See API Keys for creating keys and changing their permission.

  • Changes: every change an AI tool or the API makes is in the Appspace’s Activity log, like a change made in the dashboard. A signed-in connection’s changes are under your name; a key’s are under API key and the key’s name. Each says where it came from: via Claude, via ChatGPT, via Cursor, via VS Code, via API, or via an AI tool for others.
  • Connections: connecting and disconnecting an app are in the Activity log too, with the permission it was given.
  • Key calls: each call made with a secret key appears in the key’s request log on the API keys page, under the tool’s name (for example /mcp/create_route) or the endpoint’s.
  • Never logged: what you or the AI typed into a tool, and tokens or keys.
  • Previews first. Every change can be previewed with dry_run, and the server tells the AI to show you the preview and wait for your yes before applying it.
  • Confirming what breaks links. Removing a domain or subdomain that links may depend on, or changing how phones open your app from links, needs a separate confirmation repeating what’s being changed.
  • No lost updates. Changes can carry the version they read (expected_updated_at). If someone changed the same thing in the meantime, nothing is saved and the AI reads it again.
  • The trash. Deleted routes, banners, messages, landing and bio pages, audiences, A/B tests and webhooks can be restored for 30 days, with the same ID.
  • Secrets shown once. A new webhook signing secret is shown once, when it’s made. The AI is told not to repeat it later or write it into files unless you ask.
  • Safe addresses. A route’s data endpoint, web fallback and root URL, and an A/B test version’s web fallback, must be public http or https addresses: private, internal and bare IP addresses are refused. A route’s expired link redirect must start with http:// or https://. These are the same rules as the dashboard’s route form.
  • Rate limits. 120 tool calls a minute for each key or connected app, separate from your apps’ and SDKs’ traffic. The checks that reach other websites (validate_aasa, validate_assetlinks, test_link with live checks, check_domain, check_setup, get_doc and search_docs) have their own limit of 30 a minute. A request can carry at most 10 messages at once.
  • Failed sign-ins. After too many failed sign-ins from one address, more failed attempts from there are refused for 10 minutes. A valid key or sign-in still works: it’s never blocked by other people’s failed attempts, even when many people connect through the same AI service.
  • Nothing billing-related. No tool or endpoint can change your plan, billing cap or payment details.
Was this page helpful?