Personal API - Get personal Token
Interface function
Obtain the personal information and permanent access token of the currently logged-in user, which is used to call the platform's internal management interface.
request information
- Interface address:
https://api.meyatu.cn/v1/user/token - Request method:
GET - Authentication: After logging in using the platform account and password, access with cookies
Return example
{
"code": 200,
"data": {
"user_id": 12345,
"username": "testuser",
"token": "sk-personal-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
Instructions for use
- Personal Token permissions are equivalent to account numbers, please do not disclose them.
- Can be used to query balance, call records, token management, etc.
- Valid for a long time and can be manually reset on the console