Move an article

Move an article to the Archive, back to Home, or into a folder.

POST https://cotlet.dev/api/v1/instapaper/bookmarks/{bookmark_id}/move

write

Moves one article and returns it. Destination is archive, home or a folder ID as a string. Liked stays as it was, because liked and archived are separate. Reaches no one and is undone by moving the article back, so it runs without asking.

Parameters

Parameters: move_bookmark
NameTypeDescription
bookmark_id integer required integer Bookmark ID from list_bookmarks.
destination string required string 'archive', 'home', or a folder ID from list_folders as a string, e.g. '381204'.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/instapaper/bookmarks/1893240551/move \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"destination":"archive"}'
Python
result = client.call("instapaper", "move_bookmark", {"bookmark_id":1893240551,"destination":"archive"})
Node.js
const result = await cotlet.call('instapaper', 'move_bookmark', {"bookmark_id":1893240551,"destination":"archive"});
CLI
cotlet call instapaper move_bookmark --data '{"bookmark_id":1893240551,"destination":"archive"}'

Example response

JSON

{
  "bookmark_id": 1893240551,
  "title": "How to Salt Pasta Water",
  "archived": true,
  "folder_id": null,
  "liked": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.