Conventions
How requests, IDs, timestamps, headers, retries, and pagination work across the REST API.
Base URL and format
https://projectfeed.app/api/v1Requests must use HTTPS. Send and read JSON, and set Content-Type: application/json on requests with a body. Errors use the format on the errors page. Every response carries an X-Request-Id header; include it when you contact support.
IDs and timestamps
IDs are opaque strings. Send them back exactly as you received them and do not parse them or depend on their format. The examples in these docs use readable placeholders such as prj_abc123 and tsk_abc123. Some resources also have a readable identifier, such as PRO-43.
Wherever a route takes one of these resources by ID, you can send a readable reference instead. This holds for path segments, query parameters, and JSON body fields such as projectId, parentTaskId, and postId:
- Tasks: the ID, an identifier such as
PRO-42in any case, or the task number such as42. - Posts: the ID, an identifier, or the post number.
- Docs and canvases: the ID or the identifier, such as
DOC-7. - Projects and docs spaces: the ID or the slug.
A readable reference is looked up in the workspace of the request. One that matches nothing returns 404 with the reference in the detail, for example Task not found: PRO-999. Responses always return the ID.
Timestamps are Unix time in milliseconds, for example createdAt, updatedAt, and dueDate. The rate limit reset header is in seconds. See rate limits.
Workspace header
X-Project-Feed-Workspace names the workspace a request is for. The value is the workspace slug or the workspace ID.
- A personal API token must send it on every workspace route. A request without it returns 400 with the code
workspace_required. Routes that act on your account, such as/me, do not need it. - A workspace API key does not need it because the key belongs to one workspace. If you send it and it names another workspace, the request returns 403.
Authorization: Bearer pf_YOUR_API_TOKEN
X-Project-Feed-Workspace: your-workspaceSee authentication for the two credential types.
Client header
X-Project-Feed-Client is optional. On requests that create content, it records which AI client sent the request, and the app shows that client as the source of the post, comment, or task. The value is not case sensitive.
Workspace Agents analytics counts API, CLI, and MCP calls by client. It reads this header on every request, including MCP tool calls. If the header is missing, it uses the User-Agent when that names a known client.
Accepted values are codex, claude, grok, cursor, gemini, openai, and cli. A few common names also work, such as claude-code, openai-codex, and chatgpt. Any other value is ignored and the request still succeeds.
Idempotency keys
Routes that create a resource accept an idempotency key of 1 to 128 characters. Send it in the Idempotency-Key header or in the idempotencyKey body field. If you send both, they must match. Send the same key when you retry a request that may not have completed, so the retry does not create a second record. A key that is empty or over the length limit returns 400 with field set to the header or body field.
The header value can be the bare key or a quoted string, as the IETF Idempotency-Key draft defines it. Both of these send the same key:
Idempotency-Key: 8e03978e-40d5-43e8-bc93-6894a57f9324
Idempotency-Key: "8e03978e-40d5-43e8-bc93-6894a57f9324"In a quoted value, write \" for a quote and \\ for a backslash. The length limit applies to the key without the quotes. A quoted value with a missing closing quote or any other backslash sequence returns 400.
These routes store the response of the first successful request for 24 hours:
POST /tasksPOST /tasks/bulkPOST /tasks/batchPOST /tasks/:id/link-attachmentsPOST /posts/:id/link-attachmentsPOST /tasks/:id/subtasksPOST /tasks/:id/checklistPOST /projectsPOST /projects/:id/membersPOST /projects/:id/linksPOST /workspaces/:slug/invitationsPOST /domainsPOST /exportsPOST /integrations/:connectionId/mappingsPOST /chat/agentsPOST /docs/templatesPOST /tagsPOST /time-entriesPOST /time-entries/bulkPOST /time-entries/duplicatePOST /time-entries/:id/duplicatePOST /docsPOST /docs/:id/commentsPOST /docs/:id/blocksPOST /docs/:id/versions/:version/restorePOST /docs/:id/duplicatePOST /spacesPOST /canvasesPOST /canvases/:id/itemsPOST /canvases/:id/connectorsPOST /webhooksPOST /posts/:id/comments/:commentId/taskPOST /client-feedbackPOST /client-feedback/:id/repliesPOST /portalsPOST /portals/:id/itemsPOST /portals/:id/contactsPOST /portals/:id/docsPOST /portals/:id/items/:itemId/commentsPOST /portal-submissions/:id/taskPOST /portal-submissions/:id/repliesPOST /posts/:id/share-linksPOST /me/emailsPOST /me/invitations/:id/acceptPOST /workspaces
- The same key with the same method, path, query, and body returns the stored status and body again, with the header
Idempotent-Replayed: true. TheETagof the first response comes back too. Nothing is created a second time. If the credential can no longer read what the first request created, the replay returns 404. - The same key with anything different returns 409 with the code
idempotency_key_reused. Use a new key for a different request. - If the first request is still running, a second request with the key returns 409 with the code
idempotency_request_in_progressand aRetry-Afterheader, and the first request keeps running. Use bounded backoff when retrying with the same key. After 10 minutes without a recorded result, the key remains blocked and returnsidempotency_outcome_unknownwithout a retry header. Stop retries and reconcile the original request with its resources before issuing another create. A late successful result can still be recorded and replayed. - A response over about 400,000 characters is not stored whole, and the key stays used. A replay of a doc or task create returns the same status and rebuilds the body from the resource as it is now. A large
POST /tasks/batchreplay returns every row, with the created tasks read as they are now. Any other large create returns the same status with just the new item'sid, and aLocationheader when the item has its own URL. Read the item with itsidif you need the rest. - Validation before a key is claimed does not use it up. Once execution starts, an error may follow a committed write. Such a key stays blocked as an unknown outcome, including after 24 hours; changing keys does not make repeating the operation safe. Only completed receipts expire automatically.
- Keys belong to one credential in one workspace. Two credentials can use the same key without affecting each other.
These routes had their own duplicate handling before and keep it. The header works on them too:
| Route | Max length | Same key again | Different body |
|---|---|---|---|
POST /posts | 128 | Returns the existing post by the same author with that key. | The body is not compared, so the retry never conflicts. |
POST /posts/:id/versions | 128 | Returns the version the first request created, with status 200. | A different body returns 409. |
POST /posts/:id/comments | 128 | Returns the comment the first request created. | A different request returns 409. |
POST /tasks/:id/comments | 128 | Returns the comment the first request created. | A different request returns 409. |
POST /chat/discussions, POST /chat/rooms/:roomId/threads, and POST /chat/rooms/:roomId/threads/:threadId/messages | 128 | Returns the discussion or message the first request created. | A different request returns 409. |
The webhook signing secret is part of the stored response for POST /webhooks, so a replay returns it again to the same credential.
Incremental sync
To keep a copy of a collection up to date, ask for what changed since your last read instead of reading it all again. Two conventions cover every collection:
updatedSinceon collections whose items can change: tasks, canvases, docs, posts, projects, and time entries. Send Unix milliseconds or an ISO 8601 time with a timezone. The time is exclusive, and results come back with the oldest change first. To poll, send the largestupdatedAtyou have seen minus 5 seconds, and skip rows whoseidandupdatedAtyou already have. Writes can land slightly out of timestamp order, and two edits in the same millisecond moveupdatedAtforward by one, so a checkpoint with no overlap can miss a change.sinceon collections that only grow: post, task, and doc comments and notifications. It takes the same formats and filters oncreatedAt. For comments the time is exclusive, and task comments come back oldest first once you send it. For notifications the time is inclusive, so one created in the same millisecond as your last read is not skipped. They stay newest first: remember the largestcreatedAtyou saw, not the last row, and skip IDs you already have.
Add includeDeleted=true to also receive deleted items. The task list has no includeDeleted. Every item then carries deletedAt, which is null for a live item and the deletion time for a deleted one, so you can remove it from your copy. Deleted projects appear only for workspace owners and admins. Archiving counts as a change, so archived items come back too. Deleted docs and canvases are purged right away, so Project Feed keeps a short record of each: it keeps coming back with deletedAt for 30 days, and a sync that was offline longer should start again from a full list.
A sync with includeDeleted also reports access changes. A removed list of { id, updatedAt, deletedAt } names a project, canvas, post, or time entry the member could open before and cannot now: it was made private, moved somewhere they cannot open, taken off them by removing a project membership, or its project was deleted. For tasks, ask for includeRemoved with assigneeId. It also names an item the member can still open that left the list they asked for: a post that changed status or moved out of the filtered project, a canvas that moved out of it, a time entry that moved out of the project or date range, a project that no longer matches the archived filter, or a task that no longer matches the status or priority filter. Drop everything in removed from your copy. An item can appear there more than once, so treat each entry as idempotent. When a project is removed, so is everything in it, so read a project's content again when it returns to the list. That includes its tasks: tasks that did not change are not sent again when you get access back. Doc sync reports deleted docs but not changes to who can open a doc, such as a share, a visibility change, a move, or a space made private or archived. A client that needs exact doc permissions should run a full sync now and then, and always after a gap longer than 30 days. Demoting an owner or admin is not reported item by item. These records are kept for 30 days, so after a longer gap start again from a full list.
Page a sync with limit and cursor as usual. An unreadable updatedSince or includeDeleted returns 400 with the field named. The task list also takes assigneeId so a poller can ask only for its own work.
Conditional requests
Reads of a task, post, project, doc, canvas, webhook, portal, portal report, client feedback thread, or time entry carry a weak ETag: the resource's updatedAt, a dot, and a hash of the whole response body, such as W/"1779680000000.1k3j9x0ab2c". The tag changes whenever the response body changes, including a project or person shown on a task, a tag, a count, or an item on a canvas. The response to a change or to adding a canvas item carries the new tag. Task activity, time summaries, task counts, saved views, tags, and link attachments have no change time of their own and carry none. Use a tag two ways.
- Send it as
If-None-Matchon a later read. If the resource has not changed, you get 304 with no body. You can send several tags separated by commas, or*. - Send it as
If-Matchon a PATCH or DELETE of the same resource. If the resource has changed since you read it, you get 412 with the codeprecondition_failedand nothing is written, so you do not overwrite someone else's edit. The check and the change happen together.If-Match: *applies the change whatever the state, and more than one tag returns 400.
GET /api/v1/tasks/PRO-42
ETag: W/"1779680000000.1k3j9x0ab2c"
PATCH /api/v1/tasks/PRO-42
If-Match: W/"1779680000000.1k3j9x0ab2c"Send the whole tag back as If-None-Match. If-Match only compares the time at the front, so a change that leaves updatedAt alone, such as a reaction or a tag, does not make a write fail. An edit that does change updatedAt moves it forward by at least one millisecond, so two edits in the same millisecond still end up with different times and a stale tag never matches. The same tag comes back whatever fields you ask for. The routes that change a portal, a client feedback thread, or a portal report also honor If-Match, and so do your profile, photo removal, and notification preferences. Other routes ignore it.
Three routes take the condition in the body. A canvas item edit takes expectedUpdatedAt, the item's updatedAt, and returns 412 when the item has changed. An item's time is the later of its own and its content's, so two item edits in the same millisecond can share it. A post media reorder takes the same field, or If-Match, with the post's updatedAt, and returns 412 when the post has changed. A doc content replace takes baseVersion, the doc's currentVersion, and returns 409 when the doc is at another version. That check runs when the request arrives, before the content is written.
A doc's updatedAt and currentVersion move with every live edit in the editor. Within about a minute after the last live edit, the doc's updatedAt moves forward once more with no other visible change. A write based on a read from that minute can return 412. Read the doc again and retry.
Choosing fields
Task, post, project, doc, canvas, time entry, and client portal lists and single reads take a fields parameter: a comma-separated list of the fields you want. The response keeps only those fields and always keeps id. Use a dot to pick inside an object, such as author.name, which also applies to each object in a list such as tags.name.
GET /api/v1/tasks?fields=title,status,assignee.name,tags.nameSend at most 40 fields. A name the resource does not have returns 400 with field set to fields and one issue with the code unknown_field for each unknown name. The top-level names each resource accepts are:
| Resource | Fields |
|---|---|
tasks | id, taskNumber, identifier, sequenceNumber, title, description, descriptionText, contentHash, status, priority, sortOrder, orderKey, parentTaskId, startDate, dueDate, completedAt, estimatePoints, estimateMinutes, subtaskTotal, subtaskDone, checklistTotal, checklistDone, reactionCount, commentCount, trackedSeconds, activeTimerUserId, createdVia, externalSource, externalId, createdAt, updatedAt, deletedAt, webUrl, tags, tagsTruncated, author, assignee, assigneeIds, assignees, project, subtasks, subtasksTruncated, checklist, checklistTruncated, linkAttachments |
postTasks | id, taskNumber, identifier, sequenceNumber, title, description, descriptionText, contentHash, status, priority, sortOrder, orderKey, parentTaskId, startDate, dueDate, completedAt, estimatePoints, estimateMinutes, subtaskTotal, subtaskDone, checklistTotal, checklistDone, reactionCount, commentCount, trackedSeconds, activeTimerUserId, createdVia, externalSource, externalId, createdAt, updatedAt, deletedAt, webUrl, tags, tagsTruncated, author, assignee, assigneeIds, assignees, project, subtasks, subtasksTruncated, checklist, checklistTruncated, linkAttachments, linkId, linkedAt |
checklistItems | id, taskId, text, checked, sortOrder, orderKey, createdVia, author, createdAt, updatedAt |
posts | id, postNumber, identifier, sequenceNumber, title, content, status, currentVersion, versionCount, release, publishedAt, lastPublishedAt, createdAt, updatedAt, deletedAt, createdVia, projectId, webUrl, author, project, linkAttachments, tags, tagsTruncated, attachments, links, linksTruncated, providerFiles, providerFilesTruncated, counts, viewer, shareLinks, shareLinksTruncated |
projects | id, name, slug, description, color, visibility, archived, createdAt, updatedAt, deletedAt, prefix, icon, iconUrl, headerImageUrl, estimateMinutes, createdBy, url, gitAutomation, stats, permissions, links |
docs | id, identifier, spaceId, parentPageId, title, slug, icon, url, content, contentFormat, contentText, visibility, state, locked, fullWidth, wordCount, readTimeMinutes, currentVersion, createdBy, createdAt, updatedAt, lastEditedBy, lastEditedAt, archivedAt, deletedAt, permissions |
canvases | id, identifier, name, description, visibility, projectId, createdBy, createdAt, updatedAt, archivedAt, deletedAt, truncated, items, connectors |
linkAttachments | id, url, status, preview, createdBy, createdAt |
taskActivity | id, type, actor, fromValue, toValue, fromProjectId, toProjectId, fromAssigneeIds, toAssigneeIds, commentId, createdVia, createdAt |
tags | id, name, color, description, scope, projectId, usageCount, createdAt, updatedAt |
taskViews | id, name, viewType, filters, createdAt, updatedAt |
workspaces | id, slug, name, logo, description, website, brandColor, createdAt, updatedAt, role, features, plan, usage, overages |
timeEntries | id, taskId, projectId, userId, durationSeconds, occurredOn, note, source, createdAt, updatedAt, deletedAt, task, project, user |
portals | id, name, description, status, kind, access, slug, allowDownloads, welcomeNote, homeDocPageId, discussionEnabled, nameDisplay, showProjectFeedBranding, readOnly, contactCount, itemCount, unopenedItemCount, projectIds, projectIdsTruncated, createdBy, createdAt, updatedAt, revokedAt, webUrl, publicUrl, sections, updatesConfig, reviewActionsEnabled, autoPublishBlockedAt, feedbackConfig, topicsConfig, links, allowIndexing, launch, bannerUrl, emailSignup, subscriberCount, publicAvailability, branding, moderationConfig |
portalContacts | id, portalId, email, name, username, profileImage, status, lastActiveAt, hasPendingVerification, createdAt, updatedAt, revokedAt |
portalItems | id, portalId, postId, post, version, currentVersion, changedSinceShared, title, contentText, projectId, release, status, clientStatus, clientStatusAt, clientStatusVersion, clientStatusContactName, latestClientFeedback, decisionRequestedAt, firstViewedAt, lastViewedAt, thumbnailUrl, attachmentCount, sharedBy, sharedAt, publishedAt, revokedAt |
clientFeedback | id, portalId, portalName, itemId, currentItemId, postId, post, status, lane, text, author, anchors, replyCount, replyCountTruncated, latestReply, originalVersion, currentVersion, addressedInVersion, addressedAt, awaitingClientVerification, verifiedAt, reopenedAt, linkedTasks, tasksReadyForAddressing, requiresTaskRefresh, removed, createdAt, updatedAt |
portalDocs | id, portalId, identifier, title, icon, slug, spaceSlug, accessLevel, includeSubpages, clientEditAllowed, readOnlyReason, hidden, hiddenReason, readTimeMinutes, lastEditedAt, sharedAt, firstViewedAt, lastViewedAt, openedByCount |
portalSubmissions | id, portalId, portalName, portalAccess, category, categoryLabel, title, bodyPreview, body, fieldValues, status, publicStatus, reporter, attachmentCount, attachments, taskId, task, taskDeleted, replies, hasOlderReplies, lastTeamReplyAt, lastReporterReplyAt, onBoard, boardConsent, publicTitle, voteCount, destinationProjectId, viewerCanTriage, viewerCanReply, createdAt, updatedAt |
The task list also takes view=compact, which leaves out description and descriptionText and is faster for long lists. A canvas read takes include with items, connectors, both separated by a comma, or none. Without it the canvas comes back with both. For a large canvas, read the metadata with include=none and page the items with GET /canvases/:id/items.
Pagination
Lists that can grow take a limit and return hasMore and nextCursor. To read the next page, repeat the request with the same filters and send nextCursor unchanged as cursor. A page can be short or empty while hasMore is still true, so keep following the cursor until it is false.
Treat a cursor as an opaque string. Do not build or edit one, and keep the other parameters the same while you page. On the last page nextCursor is null. Lists that need no paging for small data, such as projects, subtasks, checklist items, and webhooks, return up to 1,000 items when you send neither limit nor cursor. These requests stop after a bounded scan, so filters can return fewer items. Follow nextCursor whenever hasMore is true, including after an empty page.
limit outside the allowed range, or not a whole number, is clamped to the nearest valid value on the default API version. Requests that send version 2026-10-14 get 400 with field set to limitinstead, and the same strictness applies to offset, since, and true or false parameters. A total appears only when it is an exact count of the whole list.
A few lists do not use a cursor. Each resource page names its own parameters.
| Resource | Style | Parameters |
|---|---|---|
| Tasks | Cursor | limit 1 to 100 (default 50). The older offset parameter still works and is ignored when a cursor is sent. assigneeId and updatedSince filter the list; updatedSince returns oldest update first. |
| Posts | Cursor | limit 1 to 100 (default 50). nextCursor is omitted on the last page. |
| Post comments | Cursor | limit 1 to 100 (default 100). |
| Post versions | Version number | limit 1 to 50 (default 20). Versions come newest first and nextCursor is a number. |
| Docs and canvases | Cursor | limit 1 to 100 (default 50). A page can be short when the caller cannot see some docs. |
| Doc versions | Version number | limit 1 to 200 (default 50). cursor must be a positive integer. |
| Doc comments | Cursor | limit 1 to 100 (default 50). |
| Files | Cursor | limit 1 to 100 (default 50). |
| Workspace and project members | Cursor | limit 1 to 50 (default 10). |
| Tags | Cursor | limit 1 to 200 (default 100). |
| Task attachments | Cursor | limit 1 to 100 (default 50). |
| Webhooks | Cursor | limit 1 to 200. Without limit and cursor, returns up to 1,000 webhooks. Follow nextCursor when hasMore is true. |
| Webhook deliveries | Cursor | limit 1 to 100 (default 20). |
| Time entries | Cursor | limit 1 to 100 (default 50). |
| Notifications | Cursor or offset | limit 1 to 100 (default 50), with either a cursor or an offset from 0 to 10,000, plus a since timestamp filter. |
| Account notifications | Cursor | limit 1 to 200 (default 50), plus a since timestamp filter. |
| Task comments | Offset | limit 1 to 100 (default 50) and offset 0 to 10,000. The response has total and hasMore instead of a cursor. A since timestamp lists newer comments oldest first and pages with nextCursor. |
| Search | Numeric position | limit 1 to 50 (default 20). cursor is a position in the result list, not a record ID. |
| Audit logs | Time window | since and until timestamps with limit 1 to 1,000 (default 100). The response and the X-Has-More header say whether more entries remain. |
| Projects | Cursor | limit 1 to 200. Without limit and cursor, returns up to 1,000 projects. Filters can return fewer; follow nextCursor when hasMore is true. archived=exclude (default), include, or only. |
| Subtasks and checklist items | Cursor | limit 1 to 200. Without limit and cursor, returns up to 1,000 items. Follow nextCursor when hasMore is true. |