Retrieve User
Retrieves the user object that for the authenticated user.
GET
/
v2
/
oauth
/
user
Headers
Authorization
string
A user's access token, which must be retrieved from the Whop OAuth2 authentication flow. You must prepend your key with the word 'Bearer', which will look like Bearer ***************************
Response
200 - application/json
User model
id
string
The ID of the User, which will look like user_*************
name
string
The user's first and last name, if available.
username
string
The User's Whop username
email
string
The User's email address
profile_pic_url
string
An image URL of the User's profile photo, primarily pulled from Discord
social_accounts
object
roles
string
authorized_user
object
Was this page helpful?