# Create audience

`POST /v1/audiences`

Creates an empty audience that contacts can join and broadcasts can be sent to.

Needs the scope: `audiences:write`

## Body parameters

- `name` (string, required): A name for the audience, such as `Newsletter`. Up to 120 characters.

## Returns

- `object` ("audience"): Always `audience`.
- `id` (string): The id of the audience.
- `name` (string): The name of the audience.
- `contacts` (integer): How many contacts are in it.
- `subscribed` (integer): How many of them are subscribed.
- `unsubscribed` (integer): How many of them have unsubscribed.
- `createdAt` (string): When the audience was made.

## Example

cURL:

```bash
curl -X POST "$OPENSEND_API_URL/v1/audiences" \
  -H "Authorization: Bearer $OPENSEND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Beta testers"
}'
```

TypeScript:

```ts
await opensend.audiences.create({
  name: 'Beta testers',
})
```

CLI:

```bash
opensend audiences create --name 'Beta testers'
```

MCP:

```json
{
  "name": "audiences_create",
  "arguments": {
    "name": "Beta testers"
  }
}
```

Answer:

```json
{
  "object": "audience",
  "id": "aud_04",
  "name": "Beta testers",
  "contacts": 0,
  "subscribed": 0,
  "unsubscribed": 0,
  "createdAt": "2026-11-27T09:30:00.000Z"
}
```
