Skip to main content
POST
Replace Monitored Topic Bindings on a Topic Campaign

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"