Skip to content

Comments API: Update

Endpoint#

PropertyValue
Typemutation
MethodPOST
Path/api/external/v1/comments/update
HandlerOperatelyWeb.Api.Comments.Update

Authentication#

  • Requires a valid API token.
  • Requires a write-enabled token.
  • Read-only tokens return 403.

Inputs#

FieldTypeRequiredNullableDefault
contentjson primitive (encoded as string)YesNo-
comment_idid primitive (encoded as string)YesNo-
parent_typecomment_parent_type enum (project_check_in, project_retrospective, project_discussion, goal_update, goal_discussion, message, resource_hub_document, resource_hub_file, resource_hub_link, space_task, project_task, milestone, kpi_entry)YesNo-

Outputs#

FieldTypeRequiredNullable
commentcomment objectYesNo

cURL Example#

Copied
curl --request POST \
  --url "https://app.operately.com/api/external/v1/comments/update" \
  --header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
  --header "Content-Type: application/json" \
  --data '{"comment_id":"value", "content":"value", "parent_type":"project_check_in"}'

Response Example#

{
"comment": {
"__typename": "value",
"author": "<person>",
"content": "value",
"id": "value",
"inserted_at": "2026-01-01T09:30:00Z",
"notification": "<notification>",
"reactions": [
"<reaction>"
]
}
}