Skip to content

Project Templates API: Create comment

PropertyValue
Typemutation
MethodPOST
Path/api/external/v1/project_templates/create_comment
HandlerOperatelyWeb.Api.ProjectTemplates.CreateComment
  • Requires a valid API token.
  • Requires a write-enabled token.
  • Read-only tokens return 403.
FieldTypeRequiredNullableDefault
template_idid primitive (encoded as string)YesNo-
parent_typeproject_template_comment_parent_type enum (discussion, document, file, link)YesNo-
parent_idid primitive (encoded as string)YesNo-
contentjson primitive (encoded as string)YesNo-
FieldTypeRequiredNullable
commentproject_template_comment objectYesNo
Copied
curl --request POST \
  --url "https://app.operately.com/api/external/v1/project_templates/create_comment" \
  --header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
  --header "Content-Type: application/json" \
  --data '{"content":"value", "parent_id":"value", "parent_type":"discussion", "template_id":"value"}'
{
"comment": {
"__typename": "value",
"author": "<person>",
"content": "value",
"id": "value",
"inserted_at": "2026-01-01T09:30:00Z",
"parent_id": "value",
"parent_type": "discussion",
"position": 123,
"updated_at": "2026-01-01T09:30:00Z"
}
}