Companies API: List activities
Endpoint#
Section titled “Endpoint#”| Property | Value |
|---|---|
| Type | query |
| Method | GET |
| Path | /api/external/v1/companies/list_activities |
| Handler | OperatelyWeb.Api.Companies.ListActivities |
Authentication#
Section titled “Authentication#”- Requires a valid API token.
- Read-only and full-access tokens can execute this query.
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
scope_id | string | Yes | No | - |
scope_type | activity_scope_type enum (person, company, space, project, milestone, task, goal) | Yes | No | - |
actions | array of string | Yes | No | - |
cursor | string | No | Yes | - |
paginate | boolean | No | No | false |
Outputs#
Section titled “Outputs#”| Field | Type | Required | Nullable |
|---|---|---|---|
activities | array of activity object | Yes | No |
next_cursor | string | Yes | Yes |
cURL Example#
Section titled “cURL Example#”Copied
curl --request GET \
--url "https://app.operately.com/api/external/v1/companies/list_activities?actions[]=value&cursor=value&paginate=true&scope_id=value&scope_type=person" \
--header "Authorization: Bearer ${OPERATELY_API_TOKEN}"Response Example#
Section titled “Response Example#”{ "activities": [ { "__typename": "value", "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>", "scope_id": "value", "scope_type": "value", "updated_at": "2026-01-01T09:30:00Z" } ], "next_cursor": "value"}