---
title: "Activity of a Comment to DM rule"
method: GET
path: "/v1/comment-dm-rules/{id}/events"
---

# Activity of a Comment to DM rule

`GET /v1/comment-dm-rules/{id}/events`

## Request

- Base URL: `https://api.breakreach.com`
- URL: `https://api.breakreach.com/v1/comment-dm-rules/{id}/events`
- Auth: HTTP bearer

Comments that matched the rule, newest first, kept 90 days: sent, failed (with the reason) or skipped. The same outcomes are pushed to webhooks subscribed to comment_dm.sent and comment_dm.failed.

## Path parameters

- `id` string, required

## Query parameters

- `limit` integer
- `workspace` string

## Response `200`

OK

- object
  - `events` CommentDmEvent[], required
    - `id` string, required
    - `ruleId` string, required
    - `status` 'pending' | 'sent' | 'failed' | 'skipped', required
    - `reason` string, nullable, required: Why it was skipped: duplicate (the person already got this rule's DM), too_old (Instagram allows private replies within 7 days), plan (the workspace owner is not on Pro or Agency), paused, deleted
    - `error` string, nullable, required
    - `commentId` string, required
    - `commentText` string, required
    - `commenterUsername` string, nullable, required: Instagram handle
    - `commenterName` string, nullable, required: Facebook name
    - `mediaId` string, nullable, required
    - `dmMessageId` string, nullable, required
    - `publicReply` string, nullable, required: The public reply posted under the comment
    - `publicReplyError` string, nullable, required
    - `createdAt` string, date-time, required
    - `sentAt` string, date-time, nullable, required

## Other responses

- `401`: Missing, invalid or expired API key
- `402`: No active Breakreach subscription or trial
- `403`: Not a member of the requested workspace
- `404`: Rule or workspace not found

---

[API](https://skmtc.dev/breakreach/apis/breakreach-api.md) · [All operations](https://skmtc.dev/breakreach/apis/breakreach-api/llms.txt) · [OpenAPI document](https://skmtc.dev/breakreach/apis/breakreach-api/revisions/290d285f8d73?raw)
