Skip to content

create_comment

Endpoint#

PropertyValue
Typemutation
MethodPOST
Path/api/external/v1/create_comment
HandlerOperatelyWeb.Api.Mutations.CreateComment

Authentication#

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

Inputs#

FieldTypeRequiredNullableDefault
entity_idid primitive (encoded as string)YesNo-
entity_typecomment_parent_type enum (project_check_in, project_retrospective, comment_thread, goal_update, message, resource_hub_document, resource_hub_file, resource_hub_link, space_task, project_task, milestone)YesNo-
contentstringYesNo-

Outputs#

FieldTypeRequiredNullable
commentcomment objectYesNo

cURL Example#

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

Response Example#

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