Skip to main content

PUT /api/collections/< collection_id >/bookmarks

Add a bookmark to a collection.

Adds an existing bookmark to a specified collection. This operation requires the unique identifiers for both the collection and the bookmark.

Endpoint

PUT /api/collections/<collection_id>/bookmarks

Parameters

NameTypeDescription
collection_idstringThe unique identifier of the collection to which the bookmark will be added.

Request Body

FieldTypeDescription
bookmark_idstringThe unique identifier of the bookmark to add to the collection.

Response

StatusDescription
204The bookmark was successfully added to the collection. Returns null.
400The request body is missing the 'bookmark_id' field, or the collection was not found, or the bookmark is already in the collection. Returns object.