v49

OpenAPI 3.1.1raw.githubusercontent.com2026-04-2200132.4 KB
auth

Auth via TON Connect

The token is recorded in the database and in the user's cookies. If the user logs in under different browsers, then each authorization will have its own token.

post/api/v1/auth/proof/check

Request body

promo_codestring
addressstring required

Example request

{
  "address": "0:97146a46acc2654y27947f14c4a4b14273e954f78bc017790b41208b0043200b",
  "proof": {
    "payload": "84jHVNLQmZsAAAAAZB0Zryi2wqVJI-KaKNXOvCijEi46YyYzkaSHyJrMPBMOkVZa"
  }
}

Response

Ok

okboolean required

Example response

{
  "ok": true
}