Audience aanmaken
Creates a custom audience from a customer list or your account’s Whop People data, or a lookalike audience that reaches people similar to an existing one. Processing runs asynchronously. A custom audience returns one audience; a lookalike returns the requested similarity bands in data.
POST /files op de Legacy API en geef vervolgens de geretourneerde file_...-ID door als file_id.
column_mapping vertelt Whop welke CSV-header elk identiteitsveld bevat. Headers mogen aangepast zijn, maar Whop slaat rijen over die zowel een e-mailadres als een telefoonnummer missen. Poll na het aanmaken van de doelgroep Audiences opvragen totdat status ready, partial of failed is.
Koppel ltv aan een kolom met lifetime values per klant om een op waarde gebaseerde doelgroep op te bouwen. Lookalikes die daarvan worden gemaakt, geven de voorkeur aan personen die lijken op je klanten met de hoogste waarde.
Autorisaties
An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
255"d9105228-4a08-46b1-8b91-42fed586d383"
Body
Filter audiences only. The People filters that define membership, keyed exactly as GET /people accepts them — for example {"os": "iOS", "country": "US"}. Activity dates event_from and event_to are inclusive and remain fixed on refresh. Use event_within_days, first_seen_within_days or last_seen_within_days for a rolling window. Source values are canonical source paths (whop:<campaign>:<group>:<ad>, ext:<platform>:..., referrer:<domain>, direct), exact or with a trailing :* wildcard.
Respons
Audience created. Custom creation returns one audience; lookalike creation returns an array in data.
- Option 1
- Option 2
Current state of audience creation. When a pending audience is waiting on something, such as an ad account to upload to, error_message says what. When status is partial or failed, error_message explains what went wrong.
pending, processing, ready, partial, failed 
