get https://yoursite.com/api/api/user/information
The Bearer token is the access token obtained from a successful login from Login or Two-Factor request.
A successful answer will return the user's basic information like this:
{
status: 'success',
data: {
id: 10,
fullname:"Oliver Cheng",
username:"olivc",
email:"[email protected]",
two_factor:false,
balance:0,
purchase_balance:0,
points:0,
withdraw:0,
pending_withdraw:10,
cashout_times:2,
clicks:0,
video_plays:0,
registration_date:1705676164,
last_access:1707159412,
country:"PE",
referrals:0,
rented_referrals:0,
newsletter: true
}
}
- id: Account ID.
- fullname: Account Full Name.
- username: Account username.
- email: Account email address.
- two_factor: If account has enable Two-Factor, it will return true, otherwise it will return false.
- balance: Account balance.
- purchase_balance: Account purchase balance.
- points: Account total points.
- withdraw: Total withdrawal amount from user account.
- pending_withdraw: Total pending withdrawal amount from user account.
- cashout_times: Number of withdrawal requests.
- clicks: Total number of clicks.
- video_plays: Total number of video ads watched.
- registration_date: Unix timestamp of registration date.
- last_access: Unix timestamp of last login.
- country: Country code (ISO 3166-2).
- referrals: Number of direct referrals.
- rented_referrals: Number of rented referrals.
- newsletter: It returns true if user accepts site newsletter.