| API | Protocol | Base URL | Docs | Reference | OpenAPI | SDKs |
|---|---|---|---|---|---|---|
| Main | rest | https://api.ln.ht/ | link | — | — | — |
Actions (15)
Posts · 9
- Add bookmarkGET /v1/posts/add
Add a new bookmark with URL and description; supports optional extended notes, tags, datestamp, replace flag, privacy, and to-read state.
documented - Delete bookmarkGET /v1/posts/delete
Delete a bookmark by URL.
documented - Get bookmark update timeGET /v1/posts/update
Returns the most recent time a bookmark was added, updated or deleted.
documented - Get bookmarksGET /v1/posts/get
Return one or more bookmarks on a single day matching provided filters.
documented - Get bookmarks change manifest (hashes)GET /v1/posts/all
Return a change manifest for bookmarks when using the hashes parameter.
documented - Get dates with countsGET /v1/posts/dates
Return a list of dates with the number of posts on each date.
documented - List all bookmarksGET /v1/posts/all
Return all bookmarks in the user’s account; supports optional filters (tag, start, results, fromdt, todt, meta).
documented - List recent bookmarksGET /v1/posts/recent
Return the user’s most recent bookmarks, optionally filtered by tag.
documented - Suggest tags for URLGET /v1/posts/suggest
Return popular and recommended tags for a given URL.
documented
Authentication · 3
- Authorize OAuth flowGET /_/oauth/authorize
Directs the user to the OAuth authorization page to obtain an authorization code.
documented - Get access tokenPOST /v1/oauth/token
Exchange an authorization code for an access token.
documented - Refresh access tokenPOST /v1/oauth/token
Refresh the access token using a refresh token.
documented