Skip to main content
POST
/
api
/
client
/
v2
/
campaign-topic
/
{campaignId}
/
toggle-bulk
Replace Monitored Topic Bindings on a Topic Campaign
curl --request POST \
  --url https://prod-nginx-v2.goextrovert.com/webgateway/api/client/v2/campaign-topic/{campaignId}/toggle-bulk \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "monitoredTopicIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "rejectAllPosts": true
}
'
{
  "status": "success",
  "data": null,
  "message": "Operation completed successfully"
}

Authorizations

X-API-Key
string
header
required

API Key for authentication

Path Parameters

campaignId
string
required

Body

application/json
campaignId
string<uuid>
required

ID of the Topic campaign to update.

monitoredTopicIds
string<uuid>[]
required

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
boolean
required

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.

Response

status
enum<string>
required

Response status

Available options:
success
data
any | null
required

No response payload

Available options:
null
Example:

null

message
string
required

Success message

Example:

"Operation completed successfully"