Projects
Create, update, archive, and list the projects in a workspace.
Endpoints
These project settings endpoints accept a signed-in session with the X-Project-Feed-Workspace header. Workspace and project permissions still apply. Viewers can read accessible projects but cannot change their settings or membership.
Response fields
Creation, link additions, and member additions accept Idempotency-Key. Keep the key and body unchanged when retrying. Link edits, reordering, member changes, and image removal have no revision precondition: refresh their state after an unknown outcome instead of automatically replaying a queued write.
List, get, create, and update return the same project fields: id, name, slug, description, color, visibility, archived, createdAt, and updatedAt, plus the fields below. A field with no value is null.
prefixis the short code used in task identifiers, such as PRO.iconis the preset icon key.iconUrlandheaderImageUrlare the image addresses.estimateMinutesis the project time estimate, andcreatedByis the user ID of the creator.urllinks to the project in the app.gitAutomationholdsbranchPushStatus,prOpenStatus,prMergeStatus, andmagicWords.
fields accepts all of these names, and also stats, permissions, and links. Those three are returned only when include asks for them.
Archive returns { "success": true }. Get, update, and archive return 404 for a deleted project.
IDs are opaque strings. See conventions.
Filtering and sorting
Narrow the list with visibility, q, and prefix, alone or together. q matches text in the name, slug, or description and takes up to 100 characters.
Without sort, projects come back in creation order, oldest first. Set sort to createdAt, updatedAt, or name, and order to asc or desc. Sorting by createdAt or updatedAt pages the whole workspace. Sorting by name works up to 1,000 projects and returns 400 beyond that, so use another sort. Combining sort or order with updatedSince or includeDeleted returns 400. When hasMore is true, pass nextCursor back as cursor with the same filters and sort.
Add include=stats,links to put post, comment, and storage counts and each project's links on every item. permissions is only available when you get one project.
curl 'https://projectfeed.app/api/v1/projects?visibility=private&q=launch&sort=updatedAt&order=desc&include=stats' \
--header 'Authorization: Bearer pf_YOUR_API_KEY'Visibility
publicprojects are visible to all workspace members. This is the default.privateprojects are visible to project members and workspace owners and admins. Anyone else gets 403.
The list only includes projects the credential's owner can see. Creating a project makes the creator a project admin.
Archive and restore
For queued archive or restore changes, send PATCH with the ETag from the original project read in If-Match. Keep that same precondition on retry; a 412 requires a new read and a new decision. The archive POST has no revision precondition and must not be replayed automatically after an unknown outcome. Delete also accepts If-Match; show a confirmation before submitting it. If its result is unknown, read the project before deciding what to do next.
Archive with POST /projects/:id/archive or by sending archived: true to PATCH /projects/:id. Restore with archived: false. Archiving removes no data.
Archived projects are not in the list, but you can still read one with its ID. New posts cannot be created in an archived project.
curl --request PATCH --url 'https://projectfeed.app/api/v1/projects/prj_abc123' --header 'Authorization: Bearer pf_YOUR_API_KEY' --header 'Content-Type: application/json' --data '{ "archived": false }'Compact list for pickers
Add view=picker to get only id, name, and slug for each project. This view also leaves out projects archived by a plan change.
curl 'https://projectfeed.app/api/v1/projects?view=picker' --header 'Authorization: Bearer pf_YOUR_API_KEY'{
"projects": [
{ "id": "prj_abc123", "name": "Product Launch", "slug": "product-launch" }
]
}Who can change projects
- Viewers can read projects but cannot create or change them.
- Creating a project follows the workspace setting Who can create projects. A rejected request returns 403 with the reason.
- Owners and admins can update and archive any project. For other members the workspace setting Who can manage projects decides. A rejected update or archive request returns 403 with the reason.
- The name must be 1 to 100 characters. An empty or longer name returns 400.
Free workspaces can read projects but not change them. A write request returns 403 with the code plan_required.
Project members
Add, re-role, and remove members with the members:write scope. The caller must be a project admin or a workspace owner or admin, the same rule as the project settings page. The person must already be a workspace member, and workspace viewers can only be project viewers. Adding someone who is already on the project returns 409, so change their role instead.
A project keeps at least one admin, and a private project keeps at least one member. A request that would remove or demote the last one returns 409. Anyone can remove themselves from a project.
curl --request POST \
--url 'https://projectfeed.app/api/v1/projects/product-launch/members' \
--header 'Authorization: Bearer pf_YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{ "userId": "usr_abc123", "role": "editor" }'Links, icons, and deleting
Project links, icon and header image removal, and project settings sent to PATCH /projects/:id need permission to update the project. Deleting follows the workspace setting Who can delete projects and removes the project's posts, tasks, docs, canvases, and chat. Uploading an icon or header image is only available in the app.