Detect columns of a contacts file
preview_custom_audience_fileStep 1 of an upload: send a CSV/XLSX/XLS/TSV/TXT file (base64 or https URL) and get the detected headers, a suggested column mapping, sample rows, total rows and the list of target fields. Creates nothing, no credits. Then call upload_custom_audience (optionally with a corrected column_mapping).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| content_base64 | No | File content, base64 (≤ ~7 MB). Use this OR file_url. |