Manage bookmarks via Linkding REST API from Clawdbot.
- Bookmarks — list, search, create, update, archive, delete
- Tags — list and create tags
- Bundles — saved searches with filters
- Check URLs — see if a link is already bookmarked
- Open your Linkding web UI
- Go to Settings
- Find the REST API section
- Copy your API Token
mkdir -p ~/.clawdbot/credentials/linkding
cp config.json.example ~/.clawdbot/credentials/linkding/config.json
# Edit with your actual valuesOr create manually:
{
"url": "https://linkding.example.com",
"apiKey": "your-api-token-here"
}./scripts/linkding-api.sh bookmarks --limit 5# Recent bookmarks
linkding-api.sh bookmarks
# Search by keyword
linkding-api.sh bookmarks --query "python tutorial"
# Archived bookmarks
linkding-api.sh bookmarks --archived
# With pagination
linkding-api.sh bookmarks --limit 20 --offset 40# Basic
linkding-api.sh create "https://example.com"
# With metadata
linkding-api.sh create "https://example.com" \
--title "Example Site" \
--description "A great resource" \
--tags "reference,docs"
# Create and archive immediately
linkding-api.sh create "https://example.com" --archivedlinkding-api.sh check "https://example.com"# Update
linkding-api.sh update 123 --title "New Title" --tags "newtag"
# Archive/unarchive
linkding-api.sh archive 123
linkding-api.sh unarchive 123
# Delete
linkding-api.sh delete 123linkding-api.sh tags # List all tags
linkding-api.sh tag-create "mytag"linkding-api.sh bundles # List bundles
linkding-api.sh bundle-create "Work Resources" \
--search "productivity" \
--any-tags "work,tools"export LINKDING_URL="https://linkding.example.com"
export LINKDING_API_KEY="your-api-token""LINKDING_URL and LINKDING_API_KEY must be set"
→ Check your config file exists at ~/.clawdbot/credentials/linkding/config.json
401 Unauthorized
→ Your API token is invalid — regenerate it in Linkding settings
MIT