apiTON
HomeExplorerBlog
HomeExplorerBlog
Contact
  1. v2.Auth
  • api:TON Documentation
  • v2.Address
    • Transactions
      POST
    • Details
      POST
    • Jettons
      POST
    • NFTs
      POST
    • Wallets
      POST
  • v2.Nft
    • Username
      POST
    • Number
      POST
    • Domain
      POST
    • Gift
      POST
    • Item
      POST
  • v2.Rate
    • Fiat rate
      POST
    • Crypto rate
      POST
    • Exchanges rate
      POST
  • v2.Auth
    • Do
      POST
    • List
      POST
    • Import
      POST
    • Backup
      POST
    • Delete
      POST
    • New
      POST
  • v2.Wallet
    • Send TON
      POST
    • Send Jetton
      POST
    • Send Nft
      POST
  • v2.NftContract
    • Mint Nft Collection
      POST
    • Mint NFT
      POST
  • v2.JettonContract
    • Mint
    • Burn
    • Change owner
    • Close Mint
  1. v2.Auth

Import

POST
/v2.Auth/Import
v2.Auth
Add wallet to apiTON:Auth:List and get auth token
Get your 🔑 access_token for v2 api

Request

Body Params application/json
access_token
string 
accessToken
optional
wallet
object (WalletAuth) 
optional
mnemonic
string 
mnemonic
optional
Owner wallet seed. Set your valid seed
>= 64 characters<= 512 characters
Default:
fever tennis hurdle proof invite brisk pumpkin lunar orbit view weasel bind adult banana core together remove base brain fragile session effort general truth
version
enum<string> 
optional
Allowed values:
DEFAULTV3R1V3R2V4R1V4R2V5
Example
{
    "access_token": "1:2427eba5ddefc80c5679718eeb8425590041",
    "wallet": {
        "mnemonic": "month rubber derive talent motion lawsuit adapt spice duty siege share soap scare drive own brief behave tilt cake huge weather retreat close alone",
        "version": "V4R2"
    }
}

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/Import' \
--header 'Content-Type: application/json' \
--data-raw '{
    "access_token": "1:2427eba5ddefc80c5679718eeb8425590041",
    "wallet": {
        "mnemonic": "month rubber derive talent motion lawsuit adapt spice duty siege share soap scare drive own brief behave tilt cake huge weather retreat close alone",
        "version": "V4R2"
    }
}'

Responses

🟢200OK
application/json
Body
jwt_token
string 
jwtToken
optional
Examples
{
    "jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwid2FsbGV0IjoiMDo5MDU3NzRjYTMyMTM0OWI5MzRkZjRmODU1NDliOGI1OWVmZGJlNzJiNTZhYjIzMjMzMzM2NTgyYTk4ZDRhNTkwIiwidmVyc2lvbiI6OSwiZXhwIjoxNzg2MDQ1MTUzLCJpYXQiOjE3MzQyMDUxNTN9.e0qqi--bQgXYXr8NS-Sk6zINg4dSpf4FMndig-knJPA"
}
🔴500Server Error
Previous
List
Next
Backup
Built with