---
title: "Exchange Pairing Code"
method: POST
path: "/api/auth/telegram/token"
tags: ["telegram-auth"]
---

# Exchange Pairing Code

`POST /api/auth/telegram/token`

## Request

- Base URL: `https://api.advisorppc.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.advisorppc.com/api/auth/telegram/token`
- Auth: none declared

## Request body

- TelegramExchangeRequest
  - `init_data` string, required
  - `user_code` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/advisorppc/apis/advisorppc-api.md) · [All operations](https://skmtc.dev/advisorppc/apis/advisorppc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/advisorppc/apis/advisorppc-api/revisions/3441bd729e0c?raw)
