Endpoint#
| Property | Value |
|---|
| Type | query |
| Method | GET |
| Path | /api/external/v1/get_activity |
| Handler | OperatelyWeb.Api.Queries.GetActivity |
Authentication#
- Requires a valid API token.
- Read-only and full-access tokens can execute this query.
| Field | Type | Required | Nullable | Default |
|---|
id | string | No | Yes | - |
include_unread_goal_notifications | boolean | No | Yes | - |
include_unread_project_notifications | boolean | No | Yes | - |
include_permissions | boolean | No | Yes | - |
include_subscriptions_list | boolean | No | Yes | - |
include_potential_subscribers | boolean | No | Yes | - |
Outputs#
| Field | Type | Required | Nullable |
|---|
activity | activity object | No | Yes |
cURL Example#
Copiedcurl --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"
}
}