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
Example request
{
"address": "0:97146a46acc2654y27947f14c4a4b14273e954f78bc017790b41208b0043200b",
"proof": {
"payload": "84jHVNLQmZsAAAAAZB0Zryi2wqVJI-KaKNXOvCijEi46YyYzkaSHyJrMPBMOkVZa"
}
}Response
Ok
Example response
{
"ok": true
}Changes
Changed in 2 of the 50 revisions of this API.2
- ○
added the new optional request property
promo_codenew-optional-request-property
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
api operation id
authViaTonConnectwas addedapi-operation-id-added
- ○