Skip to content

Tags

Manage the workspace and project tags you apply to tasks and posts.

Native session access

GET and POST /api/v1/tags accept native session tokens. Send Authorization: Bearer with X-Project-Feed-Workspace. Reads require active workspace membership and omit inaccessible project tags. Creation uses the same workspace and project admin checks as API keys; viewers cannot write. Send an Idempotency-Key on creation and reuse it with the same body when retrying. Other catalog routes remain closed to session tokens.

For a task tag picker, pass the task's projectId to the list endpoint. It returns workspace tags plus that project's tags, including id, name, color, scope, and projectId. Follow nextCursor while hasMore is true. For a task without a project, use scope=workspace.

Endpoints

Signed-in sessions can read accessible tags and manage tags within their project permissions. Workspace viewers cannot create, edit, delete, or promote tags. Promotion still requires permission to manage workspace tags. Tag edits, deletion, and promotion have no revision precondition; refresh state after an unknown outcome before retrying.

Tag object

Responses that contain a tag object use this shape. The list endpoint wraps tag objects in a paginated result; deletion returns only the tag ID and a deletion flag.

id
The tag ID.
name
Lowercase, with hyphens instead of spaces.
color
Hex color, or null when none is set.
description
Text or null.
scope
workspace or project.
projectId
The owning project for a project tag, otherwise null.
usageCount
How many posts use the tag. Tags on tasks are not counted.
createdAt, updatedAt
Unix timestamps in milliseconds. updatedAt equals createdAt until the tag is edited or promoted.

Workspace and project tags

A workspace tag can be used in every project. A project tag belongs to one project and can only be applied to tasks and posts in that project. Promoting a project tag makes it a workspace tag and keeps it on everything it was already applied to.

A name that is already taken returns 400. A project tag cannot reuse the name of a workspace tag or of another tag in its project.

Who can change tags

The key's user needs the same rights as in the app. Every workspace member can read the tags they can see. Changes depend on the tag.

  • Workspace tags: workspace owners and admins can create, rename, and delete them.
  • Project tags: workspace owners and admins, and admins of that project, can create, rename, and delete them. Viewers cannot.
  • Promoting a project tag: workspace owners and admins only.

A key without the right role gets 403. Project tags in projects the key's user cannot open are left out of the list.

Scopes and plans

Listing tags needs any one of tags:read, tasks:read, or posts:read, so a key that already reads tasks or posts can read the catalog. Creating, renaming, deleting, and promoting needs tags:write or projects:write. Free workspace keys are read-only, and of the scopes on this page only tasks:read and posts:read are available to them. See Scopes.

Limits

  • Names: up to 50 characters.
  • Descriptions: up to 500 characters.
  • Colors: six-digit hex values such as #3B82F6.
  • List page size: 200 tags at most, 100 by default.
  • A task holds up to 100 tags. One request that sets tags on a task or post can name up to 50 in total across tagIds and tagNames.

The list uses cursor pagination, described in Conventions. A page can hold fewer tags than limit when some project tags are hidden from the key's user, so keep following nextCursor until hasMore is false.

Next steps

  • Tags on a task: add, replace, and remove the tags on one task.
  • Posts: replace the tags on a post.
Image preview
100%