Endpoint#
| Property | Value |
|---|
| Type | query |
| Method | GET |
| Path | /api/external/v1/project_templates/list_comments |
| Handler | OperatelyWeb.Api.ProjectTemplates.ListComments |
Authentication#
- Requires a valid API token.
- Read-only and full-access tokens can execute this query.
| Field | Type | Required | Nullable | Default |
|---|
template_id | id primitive (encoded as string) | Yes | No | - |
parent_type | project_template_comment_parent_type enum (discussion, document, file, link) | Yes | No | - |
parent_id | id primitive (encoded as string) | Yes | No | - |
Outputs#
| Field | Type | Required | Nullable |
|---|
comments | array of project_template_comment object | Yes | No |
cURL Example#
Copiedcurl --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"
}
]
}