a84d4905fdbb
latestOpenAPI 3.1.02026-08-143874115.7 MBCreate Audience
Creates an audience. Default (audience_type omitted or custom): creates one audience from an uploaded customer identity CSV file (name, column_mapping, and file_id required) and starts processing it; responds with the audience object. With filters: creates an audience from saved People filters (name required) — membership is built from the account's People data, and auto_refresh decides whether it keeps tracking the filters or keeps whoever matched at creation. With audience_type: lookalike: creates a ladder of Meta lookalike audiences from an existing ready custom audience (source_audience_id, count, and percentage required) — count equal similarity bands slicing the top percentage% (3 audiences at 6% = 0–2%, 2–4%, 4–6%), each returned as its own audience in a { data: [...] } envelope.
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"audience_type": "lookalike",
"auto_refresh": true,
"column_mapping": {
"country": "Country",
"email": "Email",
"first_name": "First Name",
"last_name": "Last Name",
"ltv": "Lifetime Value",
"phone": "Phone"
},
"count": 3,
"file_id": "eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"filters": {
"country": "US",
"last_seen_within_days": 30
},
"name": "Austin visitors, last 30 days",
"percentage": 6,
"source_audience_id": "adaud_xxxxxxxxxxxxxx"
}Response
Audience created — the audience object for custom audiences, or { data: [...] } for lookalike ladders.
Example response
{
"audience_type": "lookalike",
"created_at": "2026-01-01T12:00:00.000Z",
"error_message": "412 of 1,000 rows had no email or phone number, so the list could not be matched.",
"filters": {
"country": "US",
"last_seen_within_days": 30
},
"id": "adaud_xxxxxxxxxxxxxx",
"last_refreshed_at": "2026-01-01T12:00:00.000Z",
"lookalike_ratio": 0.04,
"lookalike_starting_ratio": 0.02,
"match_rates": [
{
"lower_bound": 40,
"platform": "meta",
"status": "available",
"upper_bound": 50
}
],
"name": "Past purchasers Lookalike 2–4%",
"platform_audience_ids": [
"120246230799130687"
],
"source_audience_id": "adaud_xxxxxxxxxxxxxx",
"source_type": "csv_upload",
"updated_at": "2026-01-01T12:00:00.000Z"
}