This API creates a new Audience and returns an Audience ID.
Request uses multipart/form-data and includes a CSV or Excel file uploaded from your local machine.
The file must include a column named phone1 with full country-code phone numbers (e.g., 442079832100).
Body Parameters (multipart/form-data)
name(required): The name for the new audience (Example: name=NE_USA-above50)audience_file(required): A CSV or Excel file with customers data. Use@followed by the local file path (Example: audience_file=@/Users/john/downloads/audience.csv)
API key is needed to authorize requests. You can get your API key via the management console.
A Bearer Token is needed to be set in the Authorization header of every API call.
For additional support you can contact us.
Name for the new audience
URL of the CSV or Excel file with customers' data
Audience created
The new Audience ID
Bad Request - Missing required fields, invalid file format, or missing phone1 column
Unauthorized - Invalid or missing Bearer token
Too Many Requests - Too many requests have been made in a short period of time (Throttling)
Internal Server Error