GET
/
v2
/
oauth
/
info
curl --request GET \
  --url https://api.whop.com/api/v2/oauth/info
{
  "user": {
    "id": "<string>",
    "name": "<string>",
    "username": "<string>",
    "email": "<string>",
    "profile_pic_url": "<string>",
    "social_accounts": {
      "service": "<string>",
      "username": "<string>",
      "id": "<string>"
    },
    "roles": "<string>",
    "authorized_user": {
      "role": "owner",
      "permission_level": "<string>",
      "company": "<string>"
    }
  },
  "company": {
    "id": "<string>",
    "title": "<string>",
    "route": "<string>",
    "image_url": "<string>",
    "hostname": "<string>"
  },
  "experiences": [
    {
      "id": "<string>",
      "experience_type": "has_interface",
      "name": "<string>",
      "description": "<string>",
      "properties": {},
      "products": "<string>",
      "access_passes": "<string>"
    }
  ]
}

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

Retrieve Info

The response is of type object.