Créer une audience
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 sur l’API Legacy, puis passez l’ID file_... renvoyé comme file_id.
column_mapping indique à Whop quel en-tête CSV contient chaque champ d’identité. Les en-têtes peuvent être personnalisés, mais Whop ignore les lignes qui n’ont ni e-mail ni téléphone. Après avoir créé l’audience, interrogez List Audiences jusqu’à ce que status soit ready, partial ou failed.
Associez ltv à une colonne contenant la valeur vie client (LTV) de chaque client pour construire une audience basée sur la valeur. Les lookalikes créés à partir de celle-ci privilégient les personnes similaires à vos clients les plus rentables.
Autorisations
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.
En-têtes
A unique key that makes this request safe to retry. See Idempotent requests.
255"d9105228-4a08-46b1-8b91-42fed586d383"
Corps
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.
Réponse
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 
