API Documentation

GetAuthorizationToken

Description

Get the user token.

Method : Post

Request Parameters:

publickey:  anyone user api public key

privatekey:  anyone user api private key

Response:

200 OK       Success

type         object

Request Url Example

URL : https://api.tokash.io/login

Response Example (200 OK)

{   "success": true,"message": "Login successfully!","result": [{  "access_token": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjgyMTJjODEwZmU2ZDljZTNkZjQ1ZGU0NTE4NTk0NGZiY2MwNzU3ZTQ2MTI1ZTVmMzRhMTUzZDllNjY3Njg3YTgxZTY5NjNhNmEzNWMxZjdkIn0.eyJhdWQiOiIxIiwianRpIjoiODIxMmM4MTBmZTZkOWNlM2RmNDVkZTQ1MTg1OTQ0ZmJjYzA3NTdlNDYxMjVlNWYzNGExNTNkOWU2Njc2ODdhODFlNjk2M2E2YTM1YzFmN2QiLCJpYXQiOjE1NjUxNjIwNTksIm5iZiI6MTU2NTE2MjA1OSwiZXhwIjoxNTk2Nzg0NDU5LCJzdWIiOiI2MyIsInNjb3BlcyI6W119.xYwYf8Q2_vSiC47zkr4-vZ67SlW9JzFYrdFMdM6uoyUo2z-nUmEbS0QjaE8A3c5Ve5z5DQOm-kFs71Rdq_twRNV9yZj8FPe2q9VIKSk_WWBeAL8_jgVOwpSbIhA4IpjtSakHV21WMEYatiE5Oly2ajoY1_KISUgM1u_5wunpzdjJ0ZUsUGamU5chWv0y9i0lvYXi4ucsU169lAqSpmJecGu1DiM-dorG99BEDuBV5TNkDzBm3jbXQHp3crQ65zwWHGHPboOpSVrPbmqW0DD0-8ZeR56pC8pCKoE5ARCIJ42u8ddrGj5Vmj5hhwNMkPpjYTUtBr8cCyLOwuLb0Xlr69ppW5hgea56BqEEzqO3De_cktczRzTpjkYXFzTEp2HzhPXA65ls2-Nu4zzopYsJwGytW5uOcUz_8zigK26pnOk6UO_3AN_mTLTHhfdfKMDmCHXXncjPU4vYUMVOOq6kUBj1OzAN57zbkIU8n8Kp8XwFPGbgQb9alPAlV4LGmo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