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

Company model

experiences
object[]
user
object

User model

Was this page helpful?