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

# List all campaigns

> Get a list of all campaigns



## OpenAPI

````yaml /phishmonger-docs/phishmonger-openapi.json get /list_campaigns
openapi: 3.0.0
info:
  title: Phishmonger API
  version: 2.0.0
  description: >-
    RESTful API for programmatic access to Phishmonger phishing platform
    functionality
servers:
  - url: https://yourdomain.com
    description: Phishmonger server
security:
  - cookieAuth: []
tags:
  - name: Template
    description: Email template management
  - name: Campaign
    description: Phishing campaign operations
  - name: Target
    description: Target recipient management
  - name: Event
    description: Event tracking and analytics
paths:
  /list_campaigns:
    get:
      tags:
        - Campaign
      summary: List all campaigns
      description: Get a list of all campaigns
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Campaign'
        '401':
          description: Not authorized
      security:
        - cookieAuth: []
components:
  schemas:
    Campaign:
      type: object
      properties:
        name:
          type: string
          description: Campaign name
        email:
          type: string
          description: Raw email message
        mail_server:
          type: string
          description: Mail server hostname
        smtp_from:
          type: string
          description: SMTP mail from field
        phishing_link:
          type: string
          description: Base phishing link URL
        id_parameter:
          type: string
          description: Tracking ID parameter name
        delay:
          type: integer
          description: Delay between emails in seconds
        secure:
          type: integer
          description: Use TLS (1 = yes, 0 = no)
        username:
          type: string
          description: SMTP username for authentication
        password:
          type: string
          description: SMTP password for authentication
        dkim:
          type: integer
          description: DKIM sign messages (1 = yes, 0 = no)
        scheduled_start:
          type: integer
          nullable: true
          description: Unix timestamp for scheduled start
        start_timestamp:
          type: integer
          nullable: true
          description: Unix timestamp when campaign started
        end_timestamp:
          type: integer
          nullable: true
          description: Unix timestamp when campaign ended
        is_sending:
          type: integer
          description: Campaign sending status (1 = sending, 0 = stopped)
        market_id:
          type: integer
          description: Phishmarket template ID if applicable
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: admin_cookie
      description: Admin cookie authentication (configurable in config.json)

````