> ## Documentation Index
> Fetch the complete documentation index at: https://docs.amisend.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Audience



## OpenAPI

````yaml api-reference/openapi.json post /audiences
openapi: 3.0.0
info:
  title: OpenAPI Documentation Amisend
  version: 1.0.0
servers:
  - url: https://api.amisend.com
  - url: http://localhost:3015/api
security: []
tags: []
paths:
  /audiences:
    post:
      tags:
        - Audience
      summary: Create Audience
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  example: Newsletter Subscribers
      responses:
        '201':
          description: Audience created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Audience'
        '400':
          description: Name is required
        '401':
          description: Unauthorized
        '500':
          description: Error creating audience
      security:
        - bearerAuth: []
components:
  schemas:
    Audience:
      type: object
      properties:
        _id:
          type: string
        name:
          type: string
        contacts:
          type: array
          items:
            type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````