AdvisorPPC Telegram Auth API

The telegram-auth API from AdvisorPPC — 6 operation(s) for telegram-auth.

Operations 6

POST /api/auth/telegram/code Issue Pairing Code #
POST /api/auth/telegram/token Exchange Pairing Code #
POST /api/auth/telegram/session Resume Session #
GET /api/auth/telegram/me Telegram Me #
GET /api/auth/telegram/grants List Grants #
DELETE /api/auth/telegram/grants/{grant_id} Revoke Grant #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/advisorppc-com:advisorppc-com-telegram-auth-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

advisorppc-com-telegram-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AdvisorPPC Telegram Auth API
  version: 0.1.0
tags:
- name: telegram-auth
paths:
  /api/auth/telegram/code:
    post:
      tags:
      - telegram-auth
      summary: Issue Pairing Code
      operationId: issue_pairing_code_api_auth_telegram_code_post
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PairingCodeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Issue Pairing Code Api Auth Telegram Code Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/auth/telegram/token:
    post:
      tags:
      - telegram-auth
      summary: Exchange Pairing Code
      operationId: exchange_pairing_code_api_auth_telegram_token_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TelegramExchangeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Exchange Pairing Code Api Auth Telegram Token Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/auth/telegram/session:
    post:
      tags:
      - telegram-auth
      summary: Resume Session
      operationId: resume_session_api_auth_telegram_session_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TelegramSessionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Resume Session Api Auth Telegram Session Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/auth/telegram/me:
    get:
      tags:
      - telegram-auth
      summary: Telegram Me
      operationId: telegram_me_api_auth_telegram_me_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Telegram Me Api Auth Telegram Me Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/auth/telegram/grants:
    get:
      tags:
      - telegram-auth
      summary: List Grants
      operationId: list_grants_api_auth_telegram_grants_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: true
                title: Response List Grants Api Auth Telegram Grants Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/auth/telegram/grants/{grant_id}:
    delete:
      tags:
      - telegram-auth
      summary: Revoke Grant
      operationId: revoke_grant_api_auth_telegram_grants__grant_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: grant_id
        in: path
        required: true
        schema:
          type: integer
          title: Grant Id
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    TelegramSessionRequest:
      properties:
        init_data:
          type: string
          maxLength: 16384
          minLength: 1
          title: Init Data
      additionalProperties: false
      type: object
      required:
      - init_data
      title: TelegramSessionRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PairingCodeRequest:
      properties:
        user_initiated:
          type: boolean
          const: true
          title: User Initiated
      additionalProperties: false
      type: object
      required:
      - user_initiated
      title: PairingCodeRequest
    TelegramExchangeRequest:
      properties:
        init_data:
          type: string
          maxLength: 16384
          minLength: 1
          title: Init Data
        user_code:
          type: string
          maxLength: 32
          minLength: 1
          title: User Code
      additionalProperties: false
      type: object
      required:
      - init_data
      - user_code
      title: TelegramExchangeRequest
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer