Skip to content

project_discussions/get

Endpoint#

PropertyValue
Typequery
MethodGET
Path/api/external/v1/project_discussions/get
HandlerOperatelyWeb.Api.ProjectDiscussions.Get

Authentication#

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

Inputs#

FieldTypeRequiredNullableDefault
idid primitive (encoded as string)YesNo-
include_unread_notificationsbooleanNoNofalse
include_permissionsbooleanNoNotrue
include_subscriptions_listbooleanNoNofalse
include_potential_subscribersbooleanNoNofalse
include_unread_project_notificationsbooleanNoNofalse
include_projectbooleanNoNofalse
include_spacebooleanNoNofalse

Outputs#

FieldTypeRequiredNullable
discussioncomment_thread objectYesNo

cURL Example#

Copied
curl --request GET \
  --url "https://app.operately.com/api/external/v1/project_discussions/get?id=value&include_permissions=true&include_potential_subscribers=true&include_project=true&include_space=true&include_subscriptions_list=true&include_unread_notifications=true&include_unread_project_notifications=true" \
  --header "Authorization: Bearer ${OPERATELY_API_TOKEN}"

Response Example#

{
  "discussion": {
    "author": "<person>",
    "can_comment": true,
    "comments": [
      "<comment>"
    ],
    "comments_count": 123,
    "id": "value",
    "inserted_at": "2026-01-01",
    "message": "value",
    "notifications": [
      "<notification>"
    ],
    "potential_subscribers": [
      "<subscriber>"
    ],
    "project": "<project>",
    "project_permissions": "<project_permissions>",
    "reactions": [
      "<reaction>"
    ],
    "space": "<space>",
    "subscription_list": "<subscription_list>",
    "title": "value"
  }
}