Post Reply to a Comment

Written By Team BugSmash

Last updated 9 days ago

METHOD: POST
URL: https://api.bugsmash.io/api/v2/reply

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

REQUEST BODY:
  commentId   (uuid, required)    - The ID of the parent comment
  text        (string, required)
  isPrivate   (boolean, optional)

CURL:
curl --location 'https://api.bugsmash.io/api/v2/reply' \
--header 'X-API-Key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
  "commentId": "{commentId}",
  "text": "Thanks, will fix this shortly."
}'

RESPONSE:
{
  "status": true,
  "message": "Reply created",
  "data": {
    "comment_id": "e5f6a7b8-c9d0-1234-efab-234567890124",
    "comment": "<p>Thanks, will fix this shortly.</p>",
    "comment_number": null,
    "status": "Active",
    "created_at": "2026-04-06T14:02:36.000000Z",
    "updated_at": "2026-04-06T14:02:36.000000Z",
    "is_private": false,
    "comment_by_name": "John Doe",
    "comment_by_email": "user@example.com",
    "assigned_to_name": null,
    "assigned_to_email": null,
    "priority": "Unset",
    "attachment_file_url": null,
    "project_type": "pdf",
    "comment_screenshot_file_url": null
  }
}