comment automations
List automation logs
Paginated list of every comment that triggered this automation, with send status and commenter info.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
automationIdstring
Query Parameters
status?string
Filter by result status
Value in
"sent" | "failed" | "skipped"limit?integer
Default
50skip?integer
Default
0Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.commentautomations.listCommentAutomationLogs({ path: { automationId: 'automation_abc123', },});console.log(data);{
"success": true,
"logs": [
{
"id": "string",
"commentId": "string",
"commenterId": "string",
"commenterName": "string",
"commentText": "string",
"status": "sent",
"error": "string",
"commentReplyStatus": "sent",
"commentReplyError": "string",
"createdAt": "2019-08-24T14:15:22Z"
}
],
"pagination": {
"total": 0,
"limit": 0,
"skip": 0,
"hasMore": true
}
}{
"error": "Unauthorized"
}{
"error": "Not found"
}