User Management
Retrieve complete profile information for authenticated user
Authorizations
Responses
200
Successfully retrieved user profile
application/json
401
Unauthorized - User not authenticated
application/json
404
User profile not found
application/json
500
Internal server error
application/json
get
GET /profile HTTP/1.1
Host: api.apm-api.com
Authorization: Bearer JWT
Accept: */*
{
"success": true,
"data": {
"user_id": 12345,
"username": "john_doe",
"email": "[email protected]",
"tgId": 987654321,
"locale": "en",
"avatar": "https://example.com/avatar.jpg",
"role": "user",
"createdAt": "2024-01-15T10:30:00Z",
"settings": {
"solana": {
"currentWallet": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
"autoSellEnabled": false,
"gasLevel": "low",
"slippage": 0.5,
"antiMev": true
}
},
"walletList": [
{
"address": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
"chain": "solana",
"name": "Main Wallet"
}
],
"strategy": [
[
1,
100
],
[
2,
50
]
],
"referralCode": "ABC123",
"firstTradeTime": "2024-01-20T14:30:00Z",
"lastTradeTime": "2024-01-25T16:45:00Z",
"lastLoginTime": "2024-01-25T18:20:00Z",
"lastUsedBot": {
"solana": "apmfun_bot",
"evm": "apmfun_evm_bot"
}
},
"msg": "Profile retrieved successfully"
}
Last updated