Whop integration (Finance, Marketing). Imported from open-connector.
https://api.whop.com/api/v1/companies
| Param | Type | Required | Description |
|---|---|---|---|
| after | string | optional | Cursor for returning resources after this position. |
| before | string | optional | Cursor for returning resources before this position. |
| first | integer | optional | Number of resources to return from the start of the list. |
| last | integer | optional | Number of resources to return from the end of the list. |
| parent_company_id | string | optional | Parent platform company ID for listing connected accounts. |
| direction | string | optional | Sort direction for returned Whop resources. |
| created_before | string | optional | Only return companies created before this timestamp. |
| created_after | string | optional | Only return companies created after this timestamp. |
/companies/{id}
| Param | Type | Required | Description |
|---|---|---|---|
| id | string | required | The unique Whop company identifier or route slug. |
/products
| Param | Type | Required | Description |
|---|---|---|---|
| company_id | string | required | The unique Whop company identifier. |
| visibilities | array | optional | Product visibility states to include. |
| access_pass_types | array | optional | Product access pass types to include. |
| direction | string | optional | Sort direction for returned Whop resources. |
| order | string | optional | Product field to sort by. Defaults to created_at. |
| first | integer | optional | Number of products to return. Default and max is 100. |
| after | string | optional | Cursor for returning products after this position. |
| last | integer | optional | Number of products to return from the end of the range. |
| before | string | optional | Cursor for returning products before this position. |
/products/{id}
| Param | Type | Required | Description |
|---|---|---|---|
| id | string | required | The unique Whop product identifier. |
/memberships
| Param | Type | Required | Description |
|---|---|---|---|
| after | string | optional | Cursor for returning resources after this position. |
| before | string | optional | Cursor for returning resources before this position. |
| first | integer | optional | Number of resources to return from the start of the list. |
| last | integer | optional | Number of resources to return from the end of the list. |
| company_id | string | required | The Whop company identifier. Required when using an API key. |
| direction | string | optional | Sort direction for returned Whop resources. |
| order | string | optional | Sortable Whop membership column. |
| product_ids | array | optional | Product identifiers to filter memberships by. |
| statuses | array | optional | Membership statuses to include. |
| cancel_options | array | optional | Cancellation reasons to filter memberships by. |
| plan_ids | array | optional | Plan identifiers to filter memberships by. |
| user_ids | array | optional | User identifiers to filter memberships by. |
| promo_code_ids | array | optional | Promo code identifiers to filter memberships by. |
| created_before | string | optional | Only return memberships created before this timestamp. |
| created_after | string | optional | Only return memberships created after this timestamp. |
/memberships/{id}
| Param | Type | Required | Description |
|---|---|---|---|
| id | string | required | The unique Whop membership identifier or license key. |
/authorized_users
| Param | Type | Required | Description |
|---|---|---|---|
| after | string | optional | Cursor for returning resources after this position. |
| before | string | optional | Cursor for returning resources before this position. |
| first | integer | optional | Number of resources to return from the start of the list. |
| last | integer | optional | Number of resources to return from the end of the list. |
| company_id | string | optional | The unique Whop company identifier. |
| user_id | string | optional | The unique Whop user identifier. |
| role | string | optional | Role assigned to a Whop authorized user. |
| created_before | string | optional | Only return authorized users created before this timestamp. |
| created_after | string | optional | Only return authorized users created after this timestamp. |
/authorized_users/{id}
| Param | Type | Required | Description |
|---|---|---|---|
| id | string | required | The unique Whop authorized user identifier. |