API pipeline: Sign in to Cabi.Chat with Telegram
Goal: a signed-in Cabi.Chat session for a person, from their Telegram account, with the Terms of Service and Privacy Policy accepted.
A person signs in on cabi.chat or in the Telegram Mini App (https://t.me/CabiChatBot/MiniApp) with their Telegram account; step by step: FE pipeline: Sign in to Cabi.Chat with Telegram. Signing in gives a browser or Mini App session, not a key for scripts. For your own scripts or Claude Code: sign in once, then mint a personal access token: API pipeline: Personal access tokens
Steps
- Sign in on cabi.chat (Log in with Telegram, or the phrase shown on your screen sent to https://t.me/CabiChatBot from your own Telegram account), or open the Mini App.
- Accept the current Terms of Service and Privacy Policy when asked.
- Check.
GET /v0/my/self→ 200 with the profile; 401 without a session. - Sign out from the menu under your name: Log out ends the session.
Behind
- The first accepted sign-in creates the Cabi.Chat account for that Telegram account. One Telegram account = one Cabi.Chat account, on the website and in the Mini App.
Rules
- Signing in needs your consent to the current Terms; when they change, you are asked again.
- Send only the words shown on your own screen. Words someone else gives you would sign them in to your account.
- If a sign-in does not go through, start it again; in the Mini App, close and reopen it.
- A session lasts until you sign out or it expires; then sign in again.
API surface
| Endpoint | Purpose | FE | AI / oracle |
|---|---|---|---|
GET /v0/my/self |
Who is signed in | yes | yes |
Index: API pipelines — index