Skip to content

Update automation settings

Update an automation's keywords, DM message, inline buttons, comment reply, or active status. Pass buttons: [] to clear all buttons. When buttons is non-empty, dmMessage (the new one if you're changing it, otherwise the stored one) must be 640 characters or less.

PATCH /v1/comment-automations/{automationId}

Update an automation's keywords, DM message, inline buttons, comment reply, or active status. Pass buttons: [] to clear all buttons. When buttons is non-empty, dmMessage (the new one if you're changing it, otherwise the stored one) must be 640 characters or less.

Parameters

  • automationId (path, string) required

Request body

Content-Type: application/json

  • name (string)
  • keywords (array)
  • matchMode (string) (enum: exact, contains)
  • dmMessage (string)
  • buttons (array) — Inline DM buttons (1-3). Pass [] to clear all buttons.
  • commentReply (string)
  • isActive (boolean)

Responses

200 — Automation updated

  • success (boolean)
  • automation (object)

401

404