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 the provided URL and title.

Endpoint​

POST /api/bookmarks/

Request Body​

FieldTypeDescription
urlstringThe full URL address that the bookmark will point to.
titlestringThe descriptive name or label assigned to the bookmark.

Response​

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