---
title: "Create audience with CSV upload"
method: POST
path: "/audience"
tags: ["Audience"]
---

# Create audience with CSV upload

`POST /audience`

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"`

## Response `200`

Audience created successfully

- object
  - `status` boolean
  - `data` object
    - `_id` string — The unique identifier for the audience
    - `name` string — The name of the audience
    - `description` string — The description of the audience
    - `phoneNumberColumnName` string — The name of the column in the CSV that contains phone numbers
    - `identifierColumnName` string — The name of the column in the CSV that contains identifiers
    - `organization` string — The organization ID
    - `createdBy` string — The user ID who created the audience
    - `createdAt` string, date-time — The date and time when the audience was created
    - `updatedAt` string, date-time — The date and time when the audience was last updated

## Other responses

- `400` — Bad request
- `401` — Unauthorized access
- `500` — Internal server error

---

[API](https://skmtc.net/smallest-inc/apis/agent-management-api.md) · [All operations](https://skmtc.net/smallest-inc/apis/agent-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smallest-inc/agent-management-api/revisions/c2d0eb64b01a/schema)
