Skip to main content

Manage bookmark folders with the bookmarks API

Apps can now manage bookmark folders in channels, not just links:

  • bookmarks.add with type set to local_folder creates a folder and adds a tab for it to the channel. To add a link to the folder, pass the folder's ID as parent_id.
  • bookmarks.edit renames a folder.
  • bookmarks.remove removes a folder, along with the links in it and its tab.
  • bookmarks.list includes folders when you set include_folders to true, and each bookmark includes a parent_id.

There's no new scope. Apps with bookmarks:write can manage folders, and apps with bookmarks:read can list them. Each folder takes one of the channel's 15 tabs, and the channel's tab permissions apply to your app.