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

# Replace Monitored Topic Bindings on a Topic Campaign

> Replaces the full set of Monitored Topics that a Topic campaign uses to collect relevant posts. Pass the full target list: topics in `monitoredTopicIds` that are not yet attached become attached (previously deleted bindings are reactivated automatically); topics currently attached but missing from `monitoredTopicIds` become detached. Pass `[]` to detach every topic. `rejectAllPosts=true` additionally rejects every pending-approval post on the campaign in the same call — this is a one-shot action on the pending queue, not persisted state on the campaign.



## OpenAPI

````yaml https://api.goextrovert.com/client/v2/docs-json post /client/v2/campaign-topic/{campaignId}/toggle-bulk
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-topic/{campaignId}/toggle-bulk:
    post:
      tags:
        - Campaign Topics
      summary: Replace Monitored Topic Bindings on a Topic Campaign
      description: >-
        Replaces the full set of Monitored Topics that a Topic campaign uses to
        collect relevant posts. Pass the full target list: topics in
        `monitoredTopicIds` that are not yet attached become attached
        (previously deleted bindings are reactivated automatically); topics
        currently attached but missing from `monitoredTopicIds` become detached.
        Pass `[]` to detach every topic. `rejectAllPosts=true` additionally
        rejects every pending-approval post on the campaign in the same call —
        this is a one-shot action on the pending queue, not persisted state on
        the campaign.
      operationId: KeywordClientApiController_toggleBulk
      parameters:
        - name: campaignId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ToggleBulkRequestDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToggleBulkResponseDto'
        '401':
          description: Invalid or missing API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientApiErrorResponseDto'
      security:
        - api-key: []
components:
  schemas:
    ToggleBulkRequestDto:
      type: object
      properties:
        campaignId:
          type: string
          format: uuid
          description: ID of the Topic campaign to update.
        monitoredTopicIds:
          type: array
          items:
            type: string
            format: uuid
          description: >-
            Full target list of Monitored Topic IDs that should remain attached
            after the call. This is an authoritative replace, not a delta:
            Monitored Topics not present in the list will be detached. Pass `[]`
            to detach all.
        rejectAllPosts:
          type: boolean
          description: >-
            If `true`, all pending-approval posts on this campaign are rejected
            in the same call (one-shot action on the pending queue, not
            persisted state). Usually `false`; use only when the user explicitly
            asks to clear the approval queue.
      required:
        - campaignId
        - monitoredTopicIds
        - rejectAllPosts
    ToggleBulkResponseDto:
      type: object
      properties:
        status:
          type: string
          description: Response status
          enum:
            - success
        data:
          description: No response payload
          nullable: true
          enum:
            - null
          example: null
        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
        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

````