Skip to content

Activity

Read the workspace activity feed, or only what you did.

Endpoints

Read the feed

Both routes need the activity:read scope and a Pro or Enterprise workspace. A personal API token also sends the X-Project-Feed-Workspace header. Items come back newest first.

The feed shows what you can already see in the app. Private projects you cannot open are left out, and so are items for resources the credential cannot read:

  • Tasks need tasks:read, and task time events also need time:read.
  • Posts need posts:read, and post comments also need comments:read.
  • Canvases need canvas:read, and docs need docs:read.
  • Integrations need integrations:read.
  • Project and workspace events need projects:read, and member events need members:read.

Your saved feed preferences from the app apply too, so event groups you hid there stay hidden. Items are filtered after they are read, so a page can hold fewer items than limit while hasMore is true. Keep following nextCursor until it is false.

To poll for new activity, remember the createdAt of the first item, which is the newest, and send it as since on the next request. since is exclusive, so you do not get the same item twice.

Shell
curl 'https://projectfeed.app/api/v1/activity?since=1762532400000&limit=50' \
  --header 'Authorization: Bearer pf_YOUR_API_KEY'

Activity item fields

kind

task_activity, post_activity, post_comment, canvas_activity, doc_activity, integration_activity, or workspace_activity.

type

The event name, such as project_created, published, or status_change.

actor

The id, name, and image of who did it, or null.

createdAt, createdVia

When it happened, in Unix milliseconds, and the client that made the change, or null.

entity

What the event is about: kind (task, post, canvas, doc, integration, project, member, or doc_space), id, title, identifier or null, deleted, and url, an absolute link or null.

fromValue, toValue

The old and new value for a change such as a status, or null.

commentPreview

The start of the comment for comment events, or null.

apiUsageType, docPath, externalUrl, activityText, annotationId, attachmentId

Present only on the kinds that have them.

Fix activity problems

400 invalid_cursor

The cursor was changed, or it came from a request with different filters. Start again without a cursor.

400 workspace_required

A personal API token was sent without the X-Project-Feed-Workspace header.

403 plan_required

The workspace is on the Free plan. The activity feed needs Pro or Enterprise.

A page has fewer items than limit

Items are filtered after they are read, so a page can be short while hasMore is true. Keep following nextCursor until hasMore is false.

An event you expect is missing

The credential may lack the scope for that resource, you may not be able to open its private project, or your feed preferences may hide that kind of event.

See API errors and API conventions for pagination.

Image preview
100%