{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mcp-telegram-com/json-schema/mcp-telegram-com-post-oauth-token-request-schema.json",
  "title": "PostOauthTokenRequest",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/mcp-telegram-com-openapi-generated.yml#/components/schemas/PostOauthTokenRequest",
  "type": "object",
  "properties": {
    "grant_type": {
      "type": "string",
      "description": "Must be \"authorization_code\""
    },
    "code": {
      "type": "string",
      "description": "Authorization code received from the authorize endpoint"
    },
    "redirect_uri": {
      "type": "string",
      "description": "Redirect URI used in the authorization request"
    },
    "code_verifier": {
      "type": "string",
      "description": "PKCE code verifier matching the original code_challenge"
    },
    "client_id": {
      "type": "string",
      "description": "Client identifier obtained during registration"
    }
  },
  "required": [
    "grant_type",
    "code",
    "redirect_uri",
    "code_verifier",
    "client_id"
  ]
}