add-a-bookmark-to-a-list.api.mdx•2.89 kB
---
id: add-a-bookmark-to-a-list
title: "Add a bookmark to a list"
description: "Add the bookmarks to a list"
sidebar_label: "Add a bookmark to a list"
hide_title: true
hide_table_of_contents: true
api: eJzNVE1v2zAM/SsCTxug1enQYYVv2WFAt2EothQ7BD4wFhOrsS1Vkttkhv77QNnNR5t1l2HYybb8KD4+PrIHRb502gZtWshhqpQIFYmFMesG3dqLYASKWvsAEgKuPORz+KJ98FBI8FR2Toct5PMeFoSO3LQLFeTzIhYSLDpsKJDzCeDLihqEvIewtQQ5+OB0uwIJtMHG1nykSat6s101D7eX783m57tqE4IpLzm7DgnC2a8URAmO7jrtSEEeXEcSWmwYUA8ACZpLshgqiPKvpf8wSvMihcUedESj4AhvTevJM5O3kwt+HDfhqxGlaQO1Qbw56oZ4QC9QKUqpLyaT57GP7ATWjlBthW4fuzfeyTFoba1L5Jjs1nPgCXnM4pZKDrTOWHJBD5RLo+i5iFFCQ97j6tS/I53mww17fBFjTOWckIJ7LYzbK9CaIJama9X/XlCKD5VR3PsuZWUH5JBxO3zWDy6N2W7Usn7vmgg8XO7+cXQ6V0MOPSrlyPuYodXZ/TlIuEencVEPlYy/BxmX2NUBcqhCsD7PsuC2Z2t0uCayZ2gtyCdazyoS4w3CLJPxPo94MXCBGOPB1H9ngYfMh7O/U4szcx0JxkORQCDHl4/GNcgMP/2YJUl1uzQczlUPlM7PJmeTg9nb8ZleX53kP72+EkvjjslzsVGCNT40mKwxTilvO9x763DVHV3d7632pw05VB5oEzJbo245cWpeP/Z/ntaTBwn5bk/t7uLTg9VRSKiMDxzU9wv0dOPqGPn4riPHW7fYOyD5RGnP7wryJdaeXqjj1bfRwK/F73iPh9huk9Hqjr9Awpq2+y3Lm/UfZj1QJxZRQkWoyKXaB8C0LMmGg9Bnq4EtvBvN65sZSMBj4z4xarr9JK2+HxAzs6Y2xh3LwN9MMMZf8DSFoA==
sidebar_class_name: "put api-method"
info_path: API/karakeep-api
custom_edit_url: null
---
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"Add a bookmark to a list"}
>
</Heading>
<MethodEndpoint
method={"put"}
path={"/lists/{listId}/bookmarks/{bookmarkId}"}
context={"endpoint"}
>
</MethodEndpoint>
Add the bookmarks to a list
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>
<ParamsDetails
parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"},{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
>
</ParamsDetails>
<RequestSchema
title={"Body"}
body={undefined}
>
</RequestSchema>
<StatusCodes
id={undefined}
label={undefined}
responses={{"204":{"description":"No content - the bookmark was added"},"400":{"description":"Bookmark already in list","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}},"404":{"description":"List or bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
>
</StatusCodes>