---
title: "List Audiences"
method: POST
path: "/audiences/list"
tags: ["Audiences"]
---

# List Audiences

`POST /audiences/list`

## Request

- Base URL: `https://api.pinnacle.sh`
- URL: `https://api.pinnacle.sh/audiences/list`
- Auth: API key in header `PINNACLE-API-KEY`

List all audiences with optional filtering and pagination. Results are sorted by creation date, newest first.

## Request body

- ListAudiencesRequest
  - `pageIndex` integer
  - `pageSize` integer
  - `name` string: Filter audiences by name (partial match).

## Response `200`

Returns paginated list of audiences.

- ListAudiencesResponse
  - `data` AudienceSummary[], required
    - `id` string, required: Audience public ID. This identifier is a string that always begins with the prefix `aud_`, for example: `aud_abc123`.
    - `name` string, required: Audience name.
    - `description` string, required: Audience description.
    - `createdAt` string, required: ISO 8601 timestamp of when the audience was created.
    - `updatedAt` string, required: ISO 8601 timestamp of when the audience was last updated.
  - `hasMore` boolean, required
  - `count` integer, required

## Other responses

- `400`: Validation failed. The payload has missing required fields and/or invalid types. <br> See https://zod.dev/error-formatting for more information.
- `401`: The request lacks valid authentication credentials or the provided credentials are invalid. <br> Ensure you're including a valid API key in the request headers and that your account has the necessary permissions to access this endpoint.
- `500`: An unexpected error occurred on Pinnacle's servers while processing your request. <br> If this error persists, please contact support with the request details.

---

[API](https://skmtc.dev/pinnacle/apis/pinnacle-2.md) - [All operations](https://skmtc.dev/pinnacle/apis/pinnacle-2/llms.txt) - [OpenAPI document](https://skmtc.dev/pinnacle/apis/pinnacle-2/revisions/45416dadab79?raw)
