Skip to main content
PUT
/
comments
/
{id}
Update comment
curl --request PUT \
  --url https://api.surefeedback.com/api/v1/comments/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "content": "<string>",
  "priority": "<string>",
  "page_url": "<string>"
}
'
{
  "success": true,
  "data": {
    "id": "990e8400-e29b-41d4-a716-446655440004",
    "content": "Updated: The header is misaligned below 768px width.",
    "priority": "high"
  }
}
Updates the content or metadata of an existing comment. Users can only edit their own comments; admins can edit any comment.

Path parameters

id
string
required
UUID of the comment.

Request body

content
string
Updated comment text.
priority
string
Updated priority: low, medium, or high.
page_url
string
Updated page URL.
{
  "success": true,
  "data": {
    "id": "990e8400-e29b-41d4-a716-446655440004",
    "content": "Updated: The header is misaligned below 768px width.",
    "priority": "high"
  }
}