You can only update a comment created by the API.
Explore documentation
Update comment
This will update an existing comment.
PATCH
https://uptime.betterstack.com/api/v2/incidents/{incident_id}/comments/{comment_id}
URL parameters
incident_id
required
string
The ID of the incident
comment_id
required
string
The ID of the comment
Headers
Authorization
required
string
Bearer $TOKEN
Content_Type
string
application/json
Body parameters
content
required
string
The content of the comment. Markdown is supported for formatting.
200
The comment was successfully updated
Response body
{
"data": {
"id": "1",
"type": "incident_comment",
"attributes": {
"id": 1,
"content": "new content",
"created_at": "2025-06-03T12:10:28.357Z",
"updated_at": "2025-06-03T12:10:28.357Z"
}
}
}
404
Comment or incident was not found
Example cURL
Simple text
Rich-formatted comment
curl --request PATCH \
--url https://uptime.betterstack.com/api/v2/incidents/1/comments/1 \
--header "Authorization: Bearer $TOKEN" \
--header 'Content-Type: application/json' \
--data '{ "content": "Updated comment content" }'
curl --request PATCH \
--url https://uptime.betterstack.com/api/v2/incidents/1/comments/1 \
--header "Authorization: Bearer $TOKEN" \
--header 'Content-Type: application/json' \
--data '{
"content": "# ๐จ Incident Update\n\nHere is the current system status:\n\n| Component | Status |\n|-----------|--------------|\n| API | โ
Operational |\n| Database | ๐ Restarting |\n| Cache | โ Down |\n\n_Updated automatically via API._"
}'