---
title: "Comment on an error group"
method: POST
path: "/projects/{project_id}/error-groups/{group_id}/comments"
tags: ["error-tracking"]
---

# Comment on an error group

`POST /projects/{project_id}/error-groups/{group_id}/comments`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/error-groups/{group_id}/comments`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required
- `group_id` integer, required

## Request body

- ErrorGroupCommentRequest
  - `body` string, required: The comment, at most 10,000 characters; Markdown is shown as text.

## Response `201`

Comment added

- ErrorGroupActivityResponse: One entry of a group's activity log.
  - `actor_name` string, nullable
  - `actor_user_id` integer, nullable: Who did it; `None` for an event that reopened the group, or a user who has since been deleted.
  - `body` string, nullable: The comment text, for `comment` entries.
  - `created_at` string, date-time, required
  - `details` ActivityDetails, required: The specifics of an entry; which fields are set depends on the kind.
    - `assignee` union: Who a group is assigned to.
      - object
        - `id` integer, required
        - `type` 'user', required
      - object
        - `id` integer, required
        - `type` 'team', required
    - `assignee_name` string, nullable: `assigned`: the assignee's name when the entry was written.
    - `bulk` boolean: `status_changed`: the change came from a bulk request.
    - `fingerprints` integer, nullable: `merged`, `unmerged`, `split`: how many fingerprints moved.
    - `group_ids` integer[]: `merged`: the groups merged in. `unmerged`, `split`: the group on the other side (both groups get an entry).
    - `in_next_release` boolean: `status_changed`: resolved in the next release.
    - `issue_title` string, nullable: `issue_linked`, `issue_unlinked`: its title when linked.
    - `issue_url` string, nullable: `issue_linked`, `issue_unlinked`: the issue.
    - `ownership_rule` string, nullable: `assigned`: the ownership rule pattern that assigned a new group.
    - `release` string, nullable: `regressed`: the release of the event that reopened the group.
    - `status` string, nullable: `status_changed`: the new status. `regressed`: the status the group had before the event reopened it (`resolved` or `ignored`).
  - `edited_at` string, date-time, nullable
  - `group_id` integer, required
  - `id` integer, required
  - `kind` 'comment' | 'status_changed' | 'regressed' | 'assigned' | 'merged' | 'unmerged' | 'split' | 'issue_linked' | 'issue_unlinked', required: What happened to the group.

## Other responses

- `400`: Empty or longer than 10,000 characters
- `401`: Not authenticated
- `403`: Missing error_tracking:write or project access
- `404`: Error group not found in the project
- `500`: Internal server error

## Changes

- **2026-11-21** `451aa64395bb`: 2 warning, 3 info
  - added the new `issue_linked` enum value to the `kind` response property for the response status `201`
  - added the new `issue_unlinked` enum value to the `kind` response property for the response status `201`
  - added the optional property `details/issue_title` to the response with the `201` status
  - added the optional property `details/issue_url` to the response with the `201` status
  - …1 more
- **2026-11-20** `89a5fa242f36`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/error-groups/:group_id/comments/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
