Endpoint#
| Property | Value |
|---|
| Type | query |
| Method | GET |
| Path | /api/external/v1/get_comments |
| Handler | OperatelyWeb.Api.Queries.GetComments |
Authentication#
- Requires a valid API token.
- Read-only and full-access tokens can execute this query.
| Field | Type | Required | Nullable | Default |
|---|
entity_id | id primitive (encoded as string) | Yes | No | - |
entity_type | comment_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) | Yes | No | - |
Outputs#
| Field | Type | Required | Nullable |
|---|
comments | array of comment object | Yes | No |
cURL Example#
Copiedcurl --request GET \
--url "https://app.operately.com/api/external/v1/get_comments?entity_id=value&entity_type=project_check_in" \
--header "Authorization: Bearer ${OPERATELY_API_TOKEN}"
Response Example#
{
"comments": [
{
"author": "<person>",
"content": "value",
"id": "value",
"inserted_at": "2026-01-01T09:30:00Z",
"notification": "<notification>",
"reactions": [
"<reaction>"
]
}
]
}