For Telegram Mini App makers

Passport for Mini Apps

Passport for Mini Apps is a free sign in and bot check for any Telegram Mini App. Your app sends the launch data Telegram gives it, sicto.si checks Telegram's own signature, and the answer is the SI Passport linked to that Telegram account: its number, handle, Passport Score, holding tier and stamps, exactly as its public profile shows them. A player with no Passport gets a link into SI Hub, where a Guest Passport takes two taps. No app ever sends us its bot token.

Mini Apps using it0live app keys
Checks answered0since Nov 26, 2026
Bot tokens sent to us0never asked for
Three steps

Add it in minutes

  1. Get a free app key

    A verified team registers its Mini App: a name, the bot's username and the bot's id. Never the token.

  2. Add the script

    Load Telegram's script, then si-tma.js, and call SIPassportTMA.check with your key when the app opens.

  3. Check again from your server

    Before you hand out points or a place on a board, send the same launch data from your own server and read the answer.

The code

Copy, paste, check

The script

<script src="https://telegram.org/js/telegram-web-app.js"></script>
<script src="https://sicto.si/assets/js/si-tma.js"></script>
<script>
SIPassportTMA.check({ key: 'sitma_your_app_key' }).then(function (r) {
  if (r.found && r.passport) {
    // r.passport.number, r.passport.handle, r.passport.score, r.passport.tier, r.passport.stamps
  } else if (r.ok && !r.found) {
    SIPassportTMA.make(r);   // opens SI Hub, where a Guest Passport takes two taps
  }
});
</script>

The request

POST https://sicto.si/api/tma.php?a=check
Content-Type: application/json

{ "key": "sitma_your_app_key", "init_data": "<Telegram.WebApp.initData, as it is>" }

The answer (example values)

{ "ok": true, "found": true, "shared": true,
  "passport": { "number": 1234, "handle": "example", "name": "Example",
    "url": "https://sicto.si/p/example/", "guest": false,
    "score": { "value": 62, "band": "high" }, "tier": "100K+",
    "stamps": 7, "founding": 1,
    "checks": { "official": false, "team": false, "gold": false } } }

No Passport yet

{ "ok": true, "found": false, "passport": null,
  "make": "https://t.me/<SI MIND's bot>?startapp=passport" }
When it says no

Every answer that is not a Passport

CodeWhat it means
bad_dataNot Telegram launch data. Send Telegram.WebApp.initData exactly as it is.
bad_signatureTelegram's signature does not match the bot of this app key.
expiredThe launch data is more than an hour old. Ask the person to open the Mini App again.
replayedThis launch data was already answered 10 times.
keyThe app key is not registered.
pausedThe app key is paused.
rate_limitedToo many checks. Wait a few minutes.
How we check

Telegram's own method for third parties

Telegram signs the launch data of every Mini App with its own key and publishes how anyone else can check it. We follow that method as written in Telegram's Mini Apps documentation (read Nov 23, 2026).

  • Every field except hash and signature, sorted by name, as key=value lines.
  • "Your bot id:WebAppData" and a new line go first.
  • Telegram's Ed25519 signature is checked with Telegram's published production key.
  • The launch data must be less than an hour old, and one launch data is answered at most 10 times.

Telegram Mini Apps documentation

What it shares

Only what the public profile shows

Shared, when the profile shows it

  • Passport number, handle and name
  • The Passport Score and band, only when its holder shows the Score
  • The holding tier, only when its holder shows it
  • How many stamps, the Founding mark and the public checks

Never shared

  • A wallet address or a balance
  • Anything the holder switched off on the profile
  • Anything about a hidden Passport
  • The person's Telegram account to anyone but the app they opened
Your Passport

Choose whether Mini Apps see you

Your SI Passport answers a Mini App only when you opened it and your Telegram is linked to your Passport. You can switch that off here.

Sign in to choose whether Mini Apps can read your public Passport.

For teams

Your free app keys

App keys go to verified teams: a site approved for Sign in with SI Passport, or an Org Passport. One key per bot.

No Passport yet

A Guest Passport in two taps, inside Telegram

When a player has no SI Passport, the answer carries a link into SI Hub, SI MIND's own Mini App. Tap the link, tap Make, and the player has a Guest Passport tied to their Telegram account. Your app finds it on the next check.

Limits

The limits, published

LimitValue
Age of the launch dataUp to 1 hour
Answers per launch data10
Checks per app key600 every 10 minutes
Checks per network120 every 10 minutes
Checks per Telegram user30 every 10 minutes
Apps per team5
In one paragraph

Passport for Mini Apps lets any Telegram Mini App check, before it hands out points, that a player is a real SI Passport holder: the app sends Telegram's signed launch data, sicto.si checks the signature with Telegram's published key, and the answer is what that Passport shows in public. It is free, it never asks for a bot token, and holders can switch it off.

Questions

Questions about Passport for Mini Apps

Do I have to send my bot token?

No. Telegram signs the launch data for third parties with its own key, and we check that signature. Your token stays with you.

What does a player have to do?

Nothing in your app. Their Telegram account must be linked to their SI Passport, which holders do once with SI MIND from their Passport page, or they make a Guest Passport in SI Hub.

Can I trust the check made in the browser?

Use it to show the Passport. Before you give points or a place on a board, send the same launch data from your own server and read our answer there.

What stops someone from replaying launch data?

It must be less than an hour old, it is answered at most 10 times, and it only verifies for the bot that your app key names.

Does it cost anything?

No. App keys are free for verified teams, and there is no charge per check.

Can a holder hide from Mini Apps?

Yes. One switch on this page makes every app get "not shared" for that Passport. A hidden Passport is never found.

Free for every Mini App

Know your players are people

Get your app key and add one script.