Skip to main content
PUT
/
comments
/
{id}
/
status
Resolve comment
curl --request PUT \
  --url https://api.surefeedback.com/api/v1/comments/{id}/status \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "status": "<string>"
}
'
{
  "success": true,
  "message": "Comment status updated successfully",
  "data": {
    "comment": {
      "id": "990e8400-e29b-41d4-a716-446655440004",
      "status": "RESOLVED",
      "resolved_at": "2026-03-02T14:00:00Z",
      "resolved_by": { "id": "...", "name": "Jane Smith" }
    }
  }
}
Updates a comment’s status. To resolve a comment, send RESOLVED as the new status.

Path parameters

id
string
required
UUID of the comment to update.

Request body

status
string
required
New status. Use RESOLVED to mark the comment as resolved.
{
  "success": true,
  "message": "Comment status updated successfully",
  "data": {
    "comment": {
      "id": "990e8400-e29b-41d4-a716-446655440004",
      "status": "RESOLVED",
      "resolved_at": "2026-03-02T14:00:00Z",
      "resolved_by": { "id": "...", "name": "Jane Smith" }
    }
  }
}