Skip to content

get_activity

Endpoint#

PropertyValue
Typequery
MethodGET
Path/api/external/v1/get_activity
HandlerOperatelyWeb.Api.Queries.GetActivity

Authentication#

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

Inputs#

FieldTypeRequiredNullableDefault
idstringNoYes-
include_unread_goal_notificationsbooleanNoYes-
include_unread_project_notificationsbooleanNoYes-
include_permissionsbooleanNoYes-
include_subscriptions_listbooleanNoYes-
include_potential_subscribersbooleanNoYes-

Outputs#

FieldTypeRequiredNullable
activityactivity objectNoYes

cURL Example#

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

Response Example#

{
  "activity": {
    "action": "value",
    "author": "<person>",
    "comment_thread": "<comment_thread>",
    "content": "<activity_content>",
    "event_data": "<activity_data_union>",
    "id": "value",
    "inserted_at": "2026-01-01T09:30:00Z",
    "notifications": [
      "<notification>"
    ],
    "permissions": "<activity_permissions>",
    "person": "<person>",
    "resource": "<activity_resource_union>",
    "resource_id": "value",
    "resource_type": "value",
    "scope_id": "value",
    "scope_type": "value",
    "updated_at": "2026-01-01T09:30:00Z"
  }
}