GET
/
v2
/
oauth
/
company
curl --request GET \
  --url https://api.whop.com/api/v2/oauth/company
{
  "hostname": "<string>",
  "id": "<string>",
  "image_url": "<string>",
  "route": "<string>",
  "title": "<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
hostname
string

This is the custom domain connected to a Company

id
string

The ID of the Company, which will look like biz_*************

image_url
string

The avatar/logo of the Company

route
string

The URL route of the company. It will be whop.com/{route}

title
string

The title of the Company

Was this page helpful?