Get All Comments
Written By Team BugSmash
Last updated 10 days ago
METHOD: GET
URL: https://api.bugsmash.io/api/v2/project/{projectId}/comments
HEADERS:
X-API-Key: YOUR_API_KEY
Content-Type: application/json
PATH PARAMETERS:
projectId (uuid, required) - The project ID
QUERY PARAMETERS:
plainText (boolean, optional) - Pass true to receive plain text instead of HTML
CURL:
curl --location 'https://api.bugsmash.io/api/v2/project/{projectId}/comments?plainText=true' \
--header 'X-API-Key: YOUR_API_KEY'
RESPONSE:
{
"status": true,
"message": "Feedback data",
"data": [
{
"comment_id": "d4e5f6a7-b8c9-0123-defa-123456789013",
"comment": "This section needs more contrast.",
"comment_number": 19,
"status": "Active",
"created_at": "2026-04-02T14:33:18.000000Z",
"updated_at": "2026-04-02T14:33:18.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,
"comment_screenshot_file_url": "https://cdn.bugsmash.io/files/{workspace-id}/image/screenshot-example.png"
}
]
}