---
title: "Create Audience (BETA)"
method: POST
path: "/audiences"
tags: ["Audiences"]
---

# Create Audience (BETA)

`POST /audiences`

## Request

- Base URL: `https://resources.uk.eagleeye.com`
- URL: `https://resources.uk.eagleeye.com/audiences`
- Auth: none declared. Required headers: `X-EES-AUTH-CLIENT-ID`, `X-EES-AUTH-HASH`

This method allows the calling application to create an Audience on the AIR platform.

## Headers

- `X-EES-AUTH-CLIENT-ID` string, string, required
- `X-EES-AUTH-HASH` string, string, required
- `Accept-Encoding` '' | 'gzip' | 'deflate' | 'gzip,deflate'
- `X-EES-TRANSACTION-ID` string, string
- `X-EES-RETRY` string, string

## Request body

- object
  - `id` string: The ID of the Audience automatically generated and unique within Eagle Eye AIR.
  - `name` string, required: The name of the Audience.
  - `reference` string, required: The reference of the Audience.
  - `dateCreated` string, date-time: The date-time when the Audience was added to the AIR platform.
  - `lastUpdated` string, date-time: The date-time when the Audience was last updated on in the AIR platform.
  - `startDate` string, date-time, nullable: The start date of the Audience.
  - `endDate` string, date-time, nullable: The end date of the Audience.

## Response `201`

The response of a successful Audiences request.

- AudiencesEntity
  - `id` string: The ID of the Audience automatically generated and unique within Eagle Eye AIR.
  - `name` string: The name of the Audience.
  - `reference` string: The reference of the Audience.
  - `dateCreated` string, date-time: The date-time when the Audience was added to the AIR platform.
  - `lastUpdated` string, date-time: The date-time when the Audience was last updated on in the AIR platform.
  - `startDate` string, date-time, nullable: The start date of the Audience.
  - `endDate` string, date-time, nullable: The end date of the Audience.

## Other responses

- `400`: Bad Request.
- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Not Found.
- `405`: Method Not Allowed.
- `429`: Too Many Requests
- `500`: Server Error
- `501`: Not Implemented
- `502`: Bad Gateway
- `503`: Service Unavailable
- `504`: Gateway Timeout

---

[API](https://skmtc.dev/eagleeye/apis/resource-api.md) - [All operations](https://skmtc.dev/eagleeye/apis/resource-api/llms.txt) - [OpenAPI document](https://skmtc.dev/eagleeye/apis/resource-api/revisions/10217d37fdc5?raw)
