Comment automations

Update a comment automation

The account and post cannot change. Pausing stops it at once; comments made while it is paused are never answered. Resuming starts from then.

patch/comment-automations/{id}

Request

  • Base URL
    https://api.rizamo.com/v1
  • Auth
    HTTP bearer

Path parameters

idstring required

The comment automation's id (cauto_).

Request body

namestring

For people: "Guide on the October reel".

keywordsstring[]

Any of them triggers it, in any case and with or without accents. Empty: every comment.

match'contains' | 'word' | 'exact'

contains: the keyword anywhere, even inside a longer word. word (the default): as a whole word or phrase. exact: the whole comment is the keyword, give or take punctuation and spaces. Always in any case and with or without accents.

excludestring[]

A comment with any of these, as whole words, never triggers it.

publicRepliesstring[]

Up to 5. After the private reply goes out, one is posted under the comment, picked at random, so the replies do not all read the same.

markDoneboolean

Mark the comment's thread done once the private reply went out.

oncePerPersonboolean

One message per person for this automation, however many times they comment.

status'active' | 'paused'

paused stops it at once: comments made while it is paused are never answered. active resumes it from then.

Response

OK

idstring required
profileIdstring required
accountIdstring required
network'instagram' | 'facebook' | 'threads' | 'linkedin' | 'tiktok' | 'youtube' | 'x' | 'pinterest' | 'google' required
namestring required
status'active' | 'paused' required

Paused: comments are not answered, and those that arrive meanwhile never will be.

pausedReasonstring nullable required

Why Rizamo paused it, such as a permission Meta refused or a link of the message that stopped working: fix it, then resume. Null when it is active or someone paused it.

networkPostIdstring nullable required

Only comments on this post on the network (List posts on the networks). Null with postId null: every post of the account, new ones too.

postIdstring nullable required

Only comments on this Rizamo post, on the account: it can be scheduled, and the automation starts when it goes live there.

armedboolean required

False while its Rizamo post is not live on the account yet.

keywordsstring[] required

Any of them triggers it. Empty: every comment.

match'contains' | 'word' | 'exact' required

contains: the keyword anywhere, even inside a longer word. word (the default): as a whole word or phrase. exact: the whole comment is the keyword, give or take punctuation and spaces. Always in any case and with or without accents.

excludestring[] required

A comment with any of these, as whole words, never triggers it.

publicRepliesstring[] required

After the private reply goes out, one of these is posted under the comment, picked at random. Empty: none.

markDoneboolean required

Marks the comment's thread done in the inbox once the private reply went out.

oncePerPersonboolean required

One message per person for this automation, however many times they comment. On by default.

createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.