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

# Create Campaigns

> **Note: This endpoint is subject to change and may not be supported in future releases.** 

 Creates a new campaign



## OpenAPI

````yaml POST /campaigns
openapi: 3.0.1
info:
  title: Campaign Management API
  description: API to manage marketing campaigns within the system
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: '{{BaseUrl}}'
security:
  - bearerAuth: []
paths:
  /campaigns:
    post:
      description: Creates a new campaign
      operationId: createCampaigns
      requestBody:
        description: Details of the new campaign to be created
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name of the campaign
                description:
                  type: string
                  description: Description of the campaign
      responses:
        '201':
          description: Campaign created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Campaign'
        '400':
          description: Error in creating the campaign
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Campaign:
      type: object
      required:
        - id
        - name
        - status
      properties:
        id:
          type: string
          description: Unique identifier for the campaign
        name:
          type: string
          description: Name of the campaign
        status:
          type: string
          description: Current status of the campaign
          enum:
            - scheduled
            - launched
            - paused
            - completed
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
        details:
          type: string
          description: Detailed description of the error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````