List companies
Returns a paginated list of companies. When parent_company_id is provided, lists connected accounts under that platform. When omitted, lists companies the current user has access to.
Required permissions:
- company:basic:read
Query parameters
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
The unique identifier of the parent platform company. When provided, lists connected accounts under that platform. Omit to list the current user's own companies.
The direction of the sort.
Only return companies created before this timestamp.
Only return companies created after this timestamp.
Response
A successful response
Example response
{
"data": [
{
"created_at": "2023-12-01T05:00:00.401Z",
"description": "Learn the fundamentals of data analytics with hands-on projects.",
"id": "biz_xxxxxxxxxxxxxx",
"logo": {
"url": "https://media.whop.com/abc123/optimized.jpg"
},
"member_count": 42,
"owner_user": {
"id": "user_xxxxxxxxxxxxx",
"name": "John Doe",
"username": "johndoe42"
},
"published_reviews_count": 42,
"route": "pickaxe",
"title": "Pickaxe",
"updated_at": "2023-12-01T05:00:00.401Z"
}
]
}Changes
Changed in 1 of the 41 revisions of this API.13
- ▲
the
queryrequest parameterdirectionwas restricted to a list of enum valuesrequest-parameter-became-enum
- ○
added the new enum value
ascto thequeryrequest parameterdirectionrequest-parameter-enum-value-added
- ○
added the new enum value
descto thequeryrequest parameterdirectionrequest-parameter-enum-value-added
- ○
for the
queryrequest parameterdirection, the type/format was generalized from/tostring/request-parameter-type-generalized
- ▲