Endpoints at a glance
Comment automations use standard REST routes.
Unlike campaigns, which use
/campaigns/create and /campaigns/update, comment automations follow REST conventions: the HTTP method determines the action.
Platform
platform— currentlyfacebookis supported.
Status and control
You control the lifecycle of a comment automation through thestatus field. There is no separate /pause or /resume endpoint. Send an update request with the new status.
{/* TODO: confirm status values and defaults against CommentAutomationController */}
Create an automation with
POST /api/v1/comment-automations, defaulting to status: 0, and then activate it with PUT /api/v1/comment-automations/{id} or PATCH /api/v1/comment-automations/{id} by setting status: 1.
Daily limit
Thelimit field sets the maximum number of comments the automation posts per day. You can set it during creation or update it later to speed up or slow down the automation.
Schedule
Use theschedule array to restrict when comments are posted. Each entry must include a day name, a start time, and an end time.
Comment content
Each automation posts the comment text you provide incomments. Use the {{first_name}} placeholder to personalize a comment. ReachOwl replaces it with the target’s first name when the comment is posted.
Executors
Comment automations run through connected social accounts called executors. Link executors by providingexecutor_ids, which are the id values returned by GET /api/v1/app-states.
Executions
Every time a comment automation runs, ReachOwl records an execution. UseGET /api/v1/comment-automations/{id}/executions to review what was posted, when it ran, and whether it succeeded. This is the best way to audit an automation or troubleshoot a comment that did not post.
Update and delete
PUTandPATCHboth call the same update handler. UsePATCHto change only the fields you send, such asstatusorlimit.DELETEpermanently removes the comment automation.
Minimal create example
Pause or resume example
Related endpoints
[/api-reference/comment-automations/list](/api-reference/comment-automations/list)— list comment automations[/api-reference/comment-automations/create](/api-reference/comment-automations/create)— create a comment automation[/api-reference/comment-automations/get](/api-reference/comment-automations/get)— retrieve a single comment automation[/api-reference/comment-automations/update](/api-reference/comment-automations/update)— update status, schedule, comments, and limits[/api-reference/comment-automations/delete](/api-reference/comment-automations/delete)— delete a comment automation[/api-reference/comment-automations/executions](/api-reference/comment-automations/executions)— list executions
