Skip to content

Project Templates API: List comments

Endpoint#

PropertyValue
Typequery
MethodGET
Path/api/external/v1/project_templates/list_comments
HandlerOperatelyWeb.Api.ProjectTemplates.ListComments

Authentication#

  • Requires a valid API token.
  • Read-only and full-access tokens can execute this query.

Inputs#

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-

Outputs#

FieldTypeRequiredNullable
commentsarray of project_template_comment objectYesNo

cURL Example#

Copied
curl --request GET \
  --url "https://app.operately.com/api/external/v1/project_templates/list_comments?parent_id=value&parent_type=discussion&template_id=value" \
  --header "Authorization: Bearer ${OPERATELY_API_TOKEN}"

Response Example#

{
  "comments": [
    {
      "__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"
    }
  ]
}