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

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
integer

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.

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

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.

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

Active window end, minutes from midnight in the campaign owner's timezone (0–1440).

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

Reserved cadence preference. Stored for upcoming functionality and does not affect behavior yet.

Available options:
LESS_OFTEN,
BALANCED,
MORE_OFTEN

Response

status
enum<string>
required

Response status

Available options:
success
data
object | null
required

No response payload

Example:

null

message
string
required

Success message

Example:

"Operation completed successfully"