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

# Update Automatic Comments Settings

> Updates the Automatic Comments settings of a campaign. When enabled, the campaign automatically publishes top eligible comments from its approval feed — up to the daily cap, inside the active window intersected with the LinkedIn account's working hours — without manual review. Absent optional fields keep the currently stored values. Disabling stops scheduling new automatic comments but does not cancel already-scheduled pending publications — those must be cancelled manually if needed. Requires update permission on the campaign; returns 403 without it.



## OpenAPI

````yaml https://api.goextrovert.com/client/v2/docs-json patch /client/v2/campaign/{id}/automatic-comments-settings
openapi: 3.0.0
info:
  title: Extrovert Client API
  description: >-
    Public API for Extrovert platform integration. Use your API key for
    authentication.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.goextrovert.com/
    description: API Server
security: []
tags: []
paths:
  /client/v2/campaign/{id}/automatic-comments-settings:
    patch:
      tags:
        - Campaigns
      summary: Update Automatic Comments Settings
      description: >-
        Updates the Automatic Comments settings of a campaign. When enabled, the
        campaign automatically publishes top eligible comments from its approval
        feed — up to the daily cap, inside the active window intersected with
        the LinkedIn account's working hours — without manual review. Absent
        optional fields keep the currently stored values. Disabling stops
        scheduling new automatic comments but does not cancel already-scheduled
        pending publications — those must be cancelled manually if needed.
        Requires update permission on the campaign; returns 403 without it.
      operationId: CampaignClientApiController_updateAutomaticCommentsSettings
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAutomaticCommentsSettingsRequestDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/UpdateAutomaticCommentsSettingsResponseDto
        '401':
          description: Invalid or missing API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientApiErrorResponseDto'
      security:
        - api-key: []
components:
  schemas:
    UpdateAutomaticCommentsSettingsRequestDto:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Campaign id whose automatic-comments settings should be updated.
        isEnabled:
          type: boolean
          description: >-
            Master toggle for Automatic Comments mode. The first enable with no
            stored window copies the LinkedIn account's working hours into the
            campaign window; later re-enables keep the stored window.
        dailyCap:
          type: integer
          description: >-
            Target maximum of automatic comments per day (default 10 when never
            set), at least 1. The effective daily number may vary slightly
            around this value. Manual comments do not consume the cap. Switch
            the mode off with `isEnabled` instead of setting the cap to zero.
          minimum: 1
          maximum: 9007199254740991
        windowFromMin:
          type: integer
          description: >-
            Active window start, minutes from midnight in the campaign owner's
            timezone (0–1440). Must not exceed `windowToMin`. The effective
            posting window is the intersection with the LinkedIn account's
            working hours.
          minimum: 0
          maximum: 1440
        windowToMin:
          type: integer
          description: >-
            Active window end, minutes from midnight in the campaign owner's
            timezone (0–1440).
          minimum: 0
          maximum: 1440
        frequency:
          type: string
          enum:
            - LESS_OFTEN
            - BALANCED
            - MORE_OFTEN
          description: >-
            Reserved cadence preference. Stored for upcoming functionality and
            does not affect behavior yet.
      required:
        - id
        - isEnabled
    UpdateAutomaticCommentsSettingsResponseDto:
      type: object
      properties:
        status:
          type: string
          description: Response status
          enum:
            - success
        data:
          description: No response payload
          nullable: true
          enum:
            - null
          example: null
          type: object
        message:
          type: string
          description: Success message
          example: Operation completed successfully
      required:
        - status
        - data
        - message
    ClientApiErrorResponseDto:
      type: object
      properties:
        status:
          type: string
          description: Response status
          example: error
          enum:
            - error
        data:
          type: object
          description: Response data
          example: null
          nullable: true
        message:
          type: string
          description: Error message
          example: An error occurred while processing the request
      required:
        - status
        - data
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: API Key for authentication

````