Skip to main content

POST /api/bookmarks/

Create a new bookmark.

Expects a JSON body with ``url`` (required) and ``title`` (required).

Creates a new bookmark entry for the user based on a provided URL and title.

Endpoint

POST /api/bookmarks/

Request Body

FieldTypeDescription
urlstringThe full web address to be saved as a bookmark.
titlestringA descriptive name or label for the bookmark.

Response

StatusDescription
201The bookmark was successfully created. Returns object.
400The request was invalid, typically due to missing required fields or validation errors. Returns object.