Skip to main content
POST
Create FB comment automation

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Automation name.

Required string length: 1 - 255
post
object
required

Facebook post to watch for comments. Get it from fbComments.listPosts.

privateReply
object
required

Private message reply sent to the commenter, if any.

publicReply
object
required

Public comment reply posted under the comment, if any.

includeKeywords
object
required

Only trigger when the comment matches these keywords.

excludeKeywords
string[]
required

Never trigger when the comment matches these keywords.

options
object
required

Matching and trigger behavior options.

hideComments
object
required

Whether to hide matching comments after replying.

replyAfter
object
required

Delay before sending the reply.

type
any
default:messenger

Automation channel type.

folderId
string | null

Folder to place the automation in, or null for root-level.

Pattern: ^\d+$

Response

OK

id
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
name
string
required
type
enum<string>
required
Available options:
messenger,
instagram,
instagramFacebook,
threads
isActive
boolean
required
startTime
string | null
required
endTime
string | null
required
repliesCount
integer
required
Required range: -2147483648 <= x <= 2147483647
sentCount
integer
required
Required range: -2147483648 <= x <= 2147483647
deliveredCount
integer
required
Required range: -2147483648 <= x <= 2147483647
seenCount
integer
required
Required range: -2147483648 <= x <= 2147483647
clickedCount
integer
required
Required range: -2147483648 <= x <= 2147483647
failedCount
integer
required
Required range: -2147483648 <= x <= 2147483647
missedCount
integer
required
Required range: -2147483648 <= x <= 2147483647
post
object
required
privateReply
object
required
publicReply
object
required
includeKeywords
object
required
excludeKeywords
string[]
required
options
object
required
hideComments
object
required
replyAfter
object
required
folderId
string | null