comment automations
List comment-to-DM automations
List all comment-to-DM automations for a profile. Returns automations with their stats.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Query Parameters
profileId?string
Filter by profile. Omit to list across all profiles
Response Body
application/json
application/json
curl -X GET "https://zernio.com/api/v1/comment-automations"{
"success": true,
"automations": [
{
"id": "string",
"name": "string",
"platform": "instagram",
"accountId": "string",
"platformPostId": "string",
"postTitle": "string",
"keywords": [
"string"
],
"matchMode": "exact",
"dmMessage": "string",
"commentReply": "string",
"isActive": true,
"stats": {
"triggered": 0,
"dmsSent": 0,
"dmsFailed": 0,
"uniqueContacts": 0
},
"createdAt": "2019-08-24T14:15:22Z"
}
]
}{
"error": "Unauthorized"
}List trigger logs for an automation GET
Paginated list of every comment that triggered this automation, with send status and commenter info.
Create a comment-to-DM automation POST
Create a keyword-triggered DM automation on an Instagram or Facebook post. When someone comments a matching keyword, they automatically receive a DM. Only one active automation per post is allowed.