Get Comment Details

Written By Team BugSmash

Last updated 10 days ago

METHOD: GET
URL: https://api.bugsmash.io/api/v2/comment/{commentId}

HEADERS:
  X-API-Key: YOUR_API_KEY
  Content-Type: application/json

PATH PARAMETERS:
  commentId  (uuid, required)  - The comment ID

QUERY PARAMETERS:
  plain_text  (boolean, optional)  - Pass true to receive plain text instead of HTML

CURL:
curl --location 'https://api.bugsmash.io/api/v2/comment/{commentId}?plain_text=true' \
--header 'X-API-Key: YOUR_API_KEY'

RESPONSE:
{
  "status": true,
  "message": "Comment details",
  "data": {
    "comment_id": "d4e5f6a7-b8c9-0123-defa-123456789013",
    "comment": "<p>Please fix the button alignment on this screen.</p>",
    "comment_number": 7,
    "status": "Resolved",
    "created_at": "2026-04-06T14:04:05.000000Z",
    "updated_at": "2026-04-06T15:11:10.000000Z",
    "is_private": false,
    "comment_by_name": "John Doe",
    "comment_by_email": "user@example.com",
    "assigned_to_name": null,
    "assigned_to_email": null,
    "priority": "P1",
    "attachment_file_url": null,
    "project_type": "pdf",
    "comment_screenshot_file_url": null,
    "replies": [...]
  }
}