Skip to main content
GET
/
bookmark
/
folders
cURL
curl --request GET \
  --url https://our-secret-api-url.com/bookmark/folders \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 123,
      "name": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "userId": 123,
      "bookmarkCount": 123
    }
  ],
  "bookmarksWithNoFolders": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successfully retrieved bookmark folders

data
object[]
bookmarksWithNoFolders
integer

Number of bookmarks not assigned to any folder