PostZen
Comment Automations

List comment automation logs

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

Newest logs first. total is capped at 5000 matching rows. Misses are not logged. Out-of-scope ids return 404 automationNotFound. Instagram only. A comment permits one private reply ever, within 7 days. Story replies use normal DMs inside the 24-hour messaging window. Buttons fall back to text with title and URL lines if Meta rejects the template. Reconnect the account on 403 platformCapabilityMissing to grant instagram_business_manage_comments and instagram_business_manage_messages.

Authorization

bearerAuth
AuthorizationBearer <token>

PostZen API key.

In: header

Path Parameters

automationId*string

Query Parameters

status?string
limit?integer
skip?integer

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/comment-automations/string/logs"
{  "logs": [    {      "id": "string",      "commentId": "string",      "platformPostId": "string",      "commenterId": "string",      "commenterName": "string",      "commentText": "string",      "skipReason": "string",      "error": "string",      "sentMessageId": "string",      "commentReplyError": "string",      "source": "comment",      "status": "pending",      "buttonsDropped": true,      "commentReplyStatus": "pending",      "nextDueAt": "2019-08-24T14:15:22Z",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ],  "pagination": {    "total": 5000,    "limit": 1,    "skip": 0,    "hasMore": true  }}
{  "error": "JSON body is required"}
{  "error": "Unauthorized"}
{  "error": "API key requires read_write permission"}
{  "error": "Not found"}
{  "error": "rate_limited",  "retryAfter": 30}
{  "error": "Failed to create post"}