Endpoint#
| Property | Value |
|---|
| Type | query |
| Method | GET |
| Path | /api/external/v1/project_discussions/get |
| Handler | OperatelyWeb.Api.ProjectDiscussions.Get |
Authentication#
- Requires a valid API token.
- Read-only and full-access tokens can execute this query.
| Field | Type | Required | Nullable | Default |
|---|
id | id primitive (encoded as string) | Yes | No | - |
include_unread_notifications | boolean | No | No | false |
include_permissions | boolean | No | No | true |
include_subscriptions_list | boolean | No | No | false |
include_potential_subscribers | boolean | No | No | false |
include_unread_project_notifications | boolean | No | No | false |
include_project | boolean | No | No | false |
include_space | boolean | No | No | false |
Outputs#
| Field | Type | Required | Nullable |
|---|
discussion | comment_thread object | Yes | No |
cURL Example#
Copiedcurl --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"
}
}