- api:TON Documentation
- v1.Address
- v1.Nft
- v1.Rate
- v2.Auth
- v2.Wallet
- v2.NftContract
- v2.JettonContract
Do
POST
/v2.Auth/Do
v2.Auth
Request
Body Params application/json
access_token
stringÂ
accessToken
address
stringÂ
address
>= 8 characters<= 256 characters
Default:
EQAFmjUoZUqKFEBGYFEMbv-m61sFStgAfUR8J6hJDwUU09iT
Example
{
"access_token": "1:2427eba5ddefc80c5679718eeb8425590041",
"address": "UQCQV3TKMhNJuTTfT4VUm4tZ79vnK1arIyMzNlgqmNSlkPaX"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.apiton.org/v2.Auth/Do' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_token": "1:2427eba5ddefc80c5679718eeb8425590041",
"address": "UQCQV3TKMhNJuTTfT4VUm4tZ79vnK1arIyMzNlgqmNSlkPaX"
}'
Responses
🟢200OK
application/json
Body
jwt_token
stringÂ
jwtToken
Example
{
"jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwid2FsbGV0IjoiMDo5MDU3NzRjYTMyMTM0OWI5MzRkZjRmODU1NDliOGI1OWVmZGJlNzJiNTZhYjIzMjMzMzM2NTgyYTk4ZDRhNTkwIiwidmVyc2lvbiI6OSwiZXhwIjoxNzg2MDQ0MzUwLCJpYXQiOjE3MzQyMDQzNTB9.C8sgnym24OrMMsimjtx-AfXJdVnG4sYR9SGooBoNsFA"
}
🔴500Server Error