Skip to main content
PATCH
Update Automatic Comments Settings

Authorizations

X-API-Key
string
header
required

API Key for authentication

Path Parameters

id
string
required

Body

application/json
id
string<uuid>
required

Campaign id whose automatic-comments settings should be updated.

isEnabled
boolean
required

Publishes comments without manual review when true. First enable copies available account work hours; with no enabled account hours the window can remain absent. Disabling stops new scheduling, not already scheduled publications.

dailyCap
integer

Target automatic comments per day, default 10 and at least 1; manual comments do not consume it. A supplied cap cannot exceed the owner account's daily comment limit. Caps are checked separately, not summed; omit to retain the stored cap.

Required range: 1 <= x <= 9007199254740991
windowFromMin
integer

Active window start. Owner-timezone minutes after midnight (0–1440). After merging, both bounds must exist together with start < end; equal bounds are invalid. Effective hours intersect the account work schedule.

Required range: 0 <= x <= 1440
windowToMin
integer

Active window end. Owner-timezone minutes after midnight (0–1440). After merging, both bounds must exist together with start < end; equal bounds are invalid. Effective hours intersect the account work schedule.

Required range: 0 <= x <= 1440
mainFeedPriority
enum<string>

Main Feed queue priority: LESS_OFTEN = Low (weight 1), BALANCED = Normal (weight 2), MORE_OFTEN = High (weight 4). Does not control Auto-comment publication frequency. Absent keeps the stored value.

Available options:
LESS_OFTEN,
BALANCED,
MORE_OFTEN

Response

status
string
required

Response status

Allowed value: "success"
data
null
required

No response payload

message
string
required

Success message

Example:

"Operation completed successfully"