Create audience with CSV upload
Create a new audience by uploading a CSV file containing phone numbers.
Only CSV text files are accepted — binary files will produce malformed data.
**Additional 400 cases:**
- Duplicate phone numbers in the CSV: `"Some phone numbers in your CSV already exist in this audience. Please remove duplicate entries and try again."`
- Member limit exceeded: `"Audience cannot exceed X members"`
Authentication
AuthorizationBearer
API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.
Request
This endpoint expects a multipart form containing a file.
name
The name of the audience
description
Optional description of the audience
phoneNumberColumnName
The name of the column in the CSV that contains phone numbers
identifierColumnName
The name of the column in the CSV that contains identifiers (e.g., names)
file
CSV file containing phone numbers and identifiers (max 5MB)
Response
Audience created successfully
status
data
Errors
400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error

