createToken
POST
/v2/openapi/system/createTokenOnce a token is generated, it will expire if it is not used for more than 4 hours and needs to be re-acquired.
The maximum usage time of a token is 48 hours.
Put the token into the Authorization field of the header of other interfaces.
Request
Body Params application/json
apiKey
string | null
required
Enter the API user key
apiSecret
string | null
required
Enter the API user secret
Example
{
"apiKey": "string",
"apiSecret": "string"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer | null
optional
data
string | null
optional
msg
string | null
optional
Example
{
"code": 0,
"data": "",
"msg": ""
}
Last modified: 6 个月前