> ## 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.

# calculate Campaign Targets

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

 Calculates targets for a specified campaign



## OpenAPI

````yaml GET /campaigns/calculateTargets/{id}
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/calculateTargets/{id}:
    get:
      description: Calculates targets for a specified campaign
      operationId: calculateCampaignTargets
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            description: Unique identifier of the campaign
      responses:
        '200':
          description: Targets calculated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  targetCount:
                    type: integer
                    description: Number of targets calculated
        '404':
          description: Campaign not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    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

````