---
title: "Get audience"
method: GET
path: "/v1/audiences/{audience_id}"
tags: ["Audiences"]
---

# Get audience

`GET /v1/audiences/{audience_id}`

Returns the editable audience definition for the supplied `audience_id`, including its name, enabled state, tags, and the campaign components that reference it. For the rendered (runtime) snapshot use `GET /v1/audiences/{audience_id}/built` instead.

## Path parameters

- `audience_id` string, required

## Response `200`

Audience definition.

- AudienceResponse — Stored audience definition. Fields `name` and `enabled` are unevaluated and appear in buildtime-evaluatable form.
  - `component_ids` string[], required
  - `component_references` ComponentReferenceResponse[], required
    - `component_id` string
    - `socket_names` string[]
  - `enabled` union, required — Whether the audience is currently evaluated at runtime.
    - boolean — Literal enabled
    - string — Handlebars expression with [AudienceBuildtimeContext](https://github.com/extole/extole-specification/blob/main/openapi/expression-context/com/extole/api/audience/AudienceBuildtimeContext.d.ts).
    - string — Javascript expression with [AudienceBuildtimeContext](https://github.com/extole/extole-specification/blob/main/openapi/expression-context/com/extole/api/audience/AudienceBuildtimeContext.d.ts).
  - `id` string, required — Stable Extole identifier for the audience.
  - `name` union, required — Display name for the audience, in the same buildtime-evaluatable form that was supplied on create or update.
    - string — Handlebars expression with [AudienceBuildtimeContext](https://github.com/extole/extole-specification/blob/main/openapi/expression-context/com/extole/api/audience/AudienceBuildtimeContext.d.ts).
    - string — Javascript expression with [AudienceBuildtimeContext](https://github.com/extole/extole-specification/blob/main/openapi/expression-context/com/extole/api/audience/AudienceBuildtimeContext.d.ts).
  - `tags` string[], required — Free-form tags applied to the audience.

## Other responses

- `400` — The supplied `audience_id` does not match an existing audience for this client. Inspect the response `code` field for the specific error.
- `401` — Unauthorized
- `402` — Payment Required
- `403` — Forbidden
- `415` — Unsupported Media Type
- `429` — Too Many Requests

---

[API](https://skmtc.net/extole/apis/integration-api-server-to-extole.md) · [All operations](https://skmtc.net/extole/apis/integration-api-server-to-extole/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extole/integration-api-server-to-extole/revisions/c16e62e66755/schema)
