Login
Login Request
POST Login
{{url}}/auth/login
AUTHORIZATION Bearer Token
This request is using Bearer Token from collection Invalert
BODY raw
{
"email" : "Youremail",
"password" : "password"
}
curl --location -g --request POST '{{url}}/auth/login' \
--data-raw '{
"email" : "youremail",
"password" : "password"
}'
Login/ Sample response
{
"success": true,
"code": 200,
"message": null,
"result": {
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wYW5lbC5pbnZhbGVydC5jb21cL2FwaVwvYXV0aFwvbG9naW4iLCJpYXQiOjE2NTA1NzEwMzUsImV4cCI6MTY1MDY0NDIzNSwibmJmIjoxNjUwNTcxMDM1LCJqdGkiOiIwSmUxRDh2cmtPMTcycEVjIiwic3ViIjoyNDM2LCJwcnYiOiIyM2JkNWM4OTQ5ZjYwMGFkYjM5ZTcwMWM0MDA4NzJkYjdhNTk3NmY3In0.ZXe8jZHYg7UsPFbgQQFvmeV78K3rzPP6zyYriZZHHO0",
"token_type": "bearer",
"expired_at": 43920000,
"userInfo": {
"id": 2436,
"full_name": null,
"first_name": "",
"last_name": "",
"email": "youremail",
"mobile": null,
"username": "youremail",
"telegram_username": null,
"telegram_id": "843541396",
"introducer": null,
"referral_type": "point",
"affiliate_code": "A6099396911",
"photo": null,
"status": "active",
"email_verified_at": "2021-11-11T20:47:56.000000Z",
"products": {
"id": 11,
"name": "3 Months",
"expired_at": "2023-03-05 07:40:46",
"created_at": "2022-04-19T12:31:15.000000Z",
"status": "active",
"duration": 3,
"duration_unit": "month",
"price_btc": "0",
"price_usd": "60",
"price_point": 240,
"description": "",
"auto_renew": "active",
"image": "http://panel.invalert.com/api/images/plans/free.svg",
"features": {
"full_access": {
"title": "Full access",
"active": true
},
"telegram_notification": {
"title": "Telegram notifications",
"active": true
},
"early_access_new_features": {
"title": "Early access to new futures",
"active": false
}
}
},
"wallets": [
{
"name": "Bitcoin - BTC",
"type": "crypto",
"address": "invnR5Sn7GSEwH3DJKmSkAjfd7ypFGeAZga",
"balance": 0
},
{
"name": "Fiat",
"type": "fiat",
"address": "invuBtaVfD4pAGIWneQyXoyK6Jeg7quyiYK",
"balance": 0
},
{
"name": "Point",
"type": "point",
"address": "invnkJnPpA3PkhTDQROY7rQ3FYlY4saKzRw",
"balance": 260
}
]
}
},
"errors": null,
"execute_time": 0.188724,
"timestamp": 1650571035.410926
}
Last updated