auth

Auth via TON Connect

Changed on

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

  • Base URL
    http://localhost:8888
  • Auth
    none declared

Request body

promo_codestring
addressstring required

Example request

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

Response

Ok

okboolean required

Example response

{
  "ok": true
}

Changes