Skip to main content
POST
Upload the CSV with Create File and pass its ID as file_id. Whop skips rows with no email or phone.

Authorizations

Authorization
string
header
required

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.

Scopes

audience:update

Headers

Idempotency-Key
string

A unique key that makes this request safe to retry. See Idempotent requests.

Maximum string length: 255
Example:

"d9105228-4a08-46b1-8b91-42fed586d383"

Api-Version-Date
string

Pins the request to a dated API version.

Example:

"2026-11-25"

Body

application/json
account_id
string
required

Account ID, prefixed biz_.

Example:

"biz_xxxxxxxxxxxxxx"

audience_type
enum<string>

Audience type. Defaults to custom.

Available options:
custom,
lookalike
Example:

"lookalike"

auto_refresh
boolean

People audiences only. When true, the default, Whop rebuilds membership twice a day. When false, the audience keeps the people it matched at creation. You cannot change it later.

Example:

true

column_mapping
object

CSV audiences only. The CSV header for each identity field. Map email, phone, or both.

count
integer

Lookalikes only. Number of lookalike audiences to create, from 1 to 6.

Example:

3

file_id
string

CSV audiences only. File ID of the CSV, prefixed file_, from POST /files.

Example:

"eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

filters
object

People audiences only. The filters that define membership, with the same keys as GET /people. event_from and event_to stay fixed when the audience rebuilds. For a rolling window, use event_within_days, first_seen_within_days, or last_seen_within_days.

Example:
name
string

Audience display name. Required for custom audiences. Lookalikes take their name from the source audience.

Example:

"Austin visitors, last 30 days"

percentage
integer

Lookalikes only. Total reach as a whole percent, from 1 to 20. It must divide evenly by count. For example, 3 audiences at 6% make the 0 to 2%, 2 to 4%, and 4 to 6% bands.

Example:

6

source_audience_id
string

Lookalikes only. The ready custom audience to build from, prefixed adaud_. It must have at least 100 people.

Example:

"adaud_xxxxxxxxxxxxxx"

source_type
enum<string>

Custom audience source. Defaults to people_filter when filters is set, otherwise csv_upload. Send only that source's fields.

Available options:
csv_upload,
people_filter
Example:

"csv_upload"

Response

Audience created. A lookalike request returns its audiences in data.

audience_type
enum<string>
required

Whether the audience targets a defined group of people or people similar to an existing audience.

Available options:
custom,
lookalike
Example:

"lookalike"

auto_refresh
boolean
required

Whether Whop rebuilds membership from saved People filters twice a day. When false, People audiences keep the members matched at creation. Always false for uploaded lists, lookalikes, and engagement audiences.

Example:

false

created_at
string
required

When the audience was created, as an ISO 8601 timestamp.

Example:

"2026-01-01T12:00:00.000Z"

error_message
string | null
required

Why a pending audience hasn't started, or why a partial or failed one isn't fully built. null when there is nothing to report.

Example:

"412 of 1,000 rows had no email or phone number, so the list could not be matched."

filters
object | null
required

Saved Whop People filters that define membership, using the same keys as GET /people. null for uploaded lists, engagement audiences, and lookalikes.

Example:
id
string
required

Audience ID, prefixed adaud_.

Example:

"adaud_xxxxxxxxxxxxxx"

last_refreshed_at
string | null
required

When the audience membership was last rebuilt, as an ISO 8601 timestamp. null until the first build completes.

Example:

"2026-01-01T12:00:00.000Z"

lookalike_ratio
number | null
required

For lookalikes: the upper bound of the similarity band as a fraction (0.02 = top 2%). null for custom audiences.

Example:

0.04

lookalike_starting_ratio
number | null
required

For lookalikes: the lower bound of the similarity band as a fraction. null for custom audiences and first-tier lookalikes.

Example:

0.02

matched_rows
number
required

Members Whop can target with ads. Always 0 for lookalikes and engagement audiences.

Example:

0

name
string
required

Audience display name.

Example:

"Past purchasers Lookalike 2–4%"

processed_rows
number
required

Members processed from the source so far. Always 0 for lookalikes and engagement audiences.

Example:

0

progress_percent
number
required

Processing progress from 0 to 100.

Example:

0

source_audience_id
string | null
required

For lookalikes: the audience this lookalike was built from. null for custom audiences.

Example:

"adaud_xxxxxxxxxxxxxx"

source_type
enum<string>
required

Membership source: an uploaded CSV, Whop People filters, or social engagement. Engagement audiences can no longer be created.

Available options:
csv_upload,
people_filter,
engagement
Example:

"csv_upload"

status
enum<string>
required

Processing state. When the audience is pending, partial, or failed, error_message says why.

Available options:
pending,
processing,
ready,
partial,
failed
total_rows
number
required

Members found in the source: CSV rows for an uploaded list, or matching people for a People audience. Always 0 for lookalikes and engagement audiences.

Example:

0

updated_at
string
required

When the audience was last updated, as an ISO 8601 timestamp.

Example:

"2026-01-01T12:00:00.000Z"