Api reference
Tags
Create, rename, merge, and manage tags
Tags can be applied to bookmarks for flexible organization. Tags support hierarchy using / separators (e.g., dev/frontend).
List Tags
GET /tagsScope: tags:read
{
"data": [
{
"id": "tag_abc",
"name": "development",
"color": "blue",
"count": 42
},
{
"id": "tag_def",
"name": "dev/frontend",
"color": null,
"count": 15
}
]
}Create Tag
POST /tagsScope: tags:write
Body:
{
"name": "new-tag",
"color": "green"
}| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Tag name. Use / for hierarchy (e.g., dev/frontend) |
color | string | No | Color identifier |
Rename Tag
PATCH /tags/:idScope: tags:write
Body:
{
"newName": "renamed-tag"
}Renaming updates the tag across all bookmarks that use it.
Delete Tag
DELETE /tags/:idScope: tags:write
Removes the tag and all bookmark-tag associations. The bookmarks themselves are not affected.
Merge Tags
POST /tags/mergeScope: tags:write
Merges one tag into another. All bookmarks with the source tag will be re-tagged with the target tag. The source tag is deleted.
Body:
{
"sourceTagId": "tag_abc",
"targetTagId": "tag_def"
}