Skip to content

get_comments

Endpoint#

PropertyValue
Typequery
MethodGET
Path/api/external/v1/get_comments
HandlerOperatelyWeb.Api.Queries.GetComments

Authentication#

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

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-

Outputs#

FieldTypeRequiredNullable
commentsarray of comment objectYesNo

cURL Example#

Copied
curl --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>"
      ]
    }
  ]
}