Menu

login

get auth token JWT_TOKEN

API

  • Address: /api/account/login
  • Method: POST

Params

param type description mandatory default
account string login email N /
password string login passowrd (32-character lowercase MD5 hash in plain text) Y /

Response

json Copy
{
    "code": 0,
    "msg": "success",
    "data": {
        "uid": 100,
        "jwt_token": "eyJ0eXAiOiJKV1QiLcCI6MTczOTc5OZmFuZ3F....",
        "expire_at": 1750348800
    }
}

Explain Response

param type description remark
uid number account id
jwt_token string JWT_TOKEN necessary need to add into header for all api
Previous
API address
Next
account
Last modified: 2025-06-20