Example
Here’s an example of how to create a Company for a connected account:emailis the connected account’s email address. This is used to identify the connected account and send them important notifications about their account.parent_company_idis your platform’s company ID (the parent company)titleis the display name for the connected account. This is required.metadatacontains custom key-value pairs:internal_user_id: Your platform’s internal identifier for this connected accountseller_tier: A classification or tier level for the connected account (e.g., “bronze”, “silver”, “gold”)
- The response includes a
company.idthat you can use to reference this connected account in future API calls
Getting started
Before you can enroll connected accounts, you need to set up your platform account:- Sign up for a platform account: Create a Company account at whop.com/dashboard
- Generate a Company API key: Go to your developer settings page and generate a Company API key
- Use the API key for authentication: This API key is how you authenticate with the Whop API and control your connected accounts
Custom metadata
You can attach custom metadata to companies when creating them. Metadata allows you to store additional information about each connected account as key-value pairs. This is useful for:- Storing your internal user or merchant identifiers
- Tracking connected account tiers or classifications
- Linking to your platform’s database records
API Reference
Create Company API
See the full API reference for creating companies and all available parameters

