Skip to main content

Overview

Comments are the team discussion on an incident. All four endpoints require session authentication (Authorization: Bearer YOUR_JWT); API keys are rejected with 403 JWT_REQUIRED. Authors can edit or delete a comment only within 15 minutes of creating it.

Comment object

List comments

Returns { "success": true, "data": { "comments": [ ... ] } }.

Add a comment

Body: comment_text (required, 1-5000 characters), is_internal (optional boolean, default false).
201 Created: { "success": true, "data": { "comment": { ... } } }.

Edit a comment

Body: comment_text (required, 1-5000 characters) and is_internal (optional boolean). Returns 200 with { "data": { "comment": { ... } } }.

Delete a comment

Returns 200 with { "success": true, "data": { "success": true } }.

Errors