Create a custom audience from a file
upload_custom_audienceCreate a custom audience from a CSV/XLSX/XLS/TSV/TXT file given as base64 or an https URL. Parsing runs in the background: poll get_custom_audience until status is "ready". No credits (enrichment is a separate, paid step).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Audience name (default: file name) | |
| file_url | No | Public https URL to fetch the file from (≤10 MB). Use this OR content_base64. | |
| filename | No | File name WITH extension (decides the type). Required with content_base64. | |
| column_mapping | No | { "<column index>": "<field>" } from preview_custom_audience_file (suggestedMapping / fieldOptions). Omit for auto-detect. | |
| content_base64 | No | File content, base64 (≤ ~7 MB). Use this OR file_url. |