Zernio
Zernio
API Reference

Comment Automations

List automation logsGETList comment-to-DM automationsGETCreate comment-to-DM automationPOSTGet automation detailsGETUpdate automation settingsPATCHDelete automationDELETE
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Comment Automations

List automation logs

Paginated list of every comment that triggered this automation, with send status and commenter info.


GET
/v1/comment-automations/{automationId}/logs

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Path Parameters

automationId*string

Query Parameters

status?string

Filter by result status

Value in

  • "pending"
  • "sent"
  • "failed"
  • "skipped"
  • "gated"
limit?integer
Range1 <= value <= 200
Default50
skip?integer
Range0 <= value
Default0

Response Body

application/json

application/json

application/json

application/json

{  "success": true,  "logs": [    {      "id": "string",      "commentId": "string",      "commenterId": "string",      "commenterName": "string",      "commentText": "string",      "source": "comment",      "status": "pending",      "audienceOutcome": "passed",      "commenterIsFollower": true,      "commenterFollowerCount": 0,      "error": "string",      "platformError": {        "code": 0,        "subcode": 0      },      "privateReplyConsumed": true,      "commentReplyStatus": "sent",      "commentReplyError": "string",      "nextDueAt": "2019-08-24T14:15:22Z",      "createdAt": "2019-08-24T14:15:22Z"    }  ],  "pagination": {    "total": 0,    "limit": 0,    "skip": 0,    "hasMore": true  },  "misses": {    "total": 0,    "retentionDays": 0,    "samples": [      {        "commentText": "string",        "commenterName": "string",        "excludedBy": "string",        "at": "2019-08-24T14:15:22Z"      }    ]  }}
Was this page helpful?

Restore a workflow version

Replace the current graph with the named version's snapshot. Before the swap, the current graph is itself snapshotted as a new version, so a restore is reversible. The workflow must be in `draft` or `paused` status (same gate as a normal graph edit). The returned workflow carries `restoredFromVersion` so the UI can surface which version was rolled back to.

List comment-to-DM automations

List all comment-to-DM automations for a profile. Returns automations with their stats.