Skip to main content
Glasp logo
  • Category: bookmark managers
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 9
  • Triggers: 0
  • Slug: GLASP
  • Version: 20261101_00

Tools

Slug: GLASP_CREATE_HIGHLIGHTSCreate between 1 and 100 highlights in the connected Glasp account in one request.

Input Parameters

array
required
Highlights to create; each item requires title, url, and text.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: GLASP_DELETE_HIGHLIGHTSDelete one Glasp highlight, or explicitly delete all highlights associated with one source document.

Input Parameters

string
required
Source document URL containing the highlight or highlights to delete.
string
ID of one highlight to delete; required unless delete_document is true.
boolean
Set true to delete all highlights for the source URL; when true, highlight_id is ignored.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: GLASP_GET_SUMMARYFetch one Glasp summary by ID, optionally including the stored page or PDF Markdown content when available.

Input Parameters

string
required
Summary ID returned by LIST_SUMMARIES, formatted by Glasp as ‘{sha1}:{uid}’.
boolean
When true, request the stored page or PDF Markdown body; content may still be null for YouTube or older summaries.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: GLASP_LIST_BOOKMARKSReturn one page of pages the connected user saved to Glasp without highlighting, optionally limited to bookmarks updated after a timestamp.

Input Parameters

string
Continuation cursor returned as next_cursor by a previous call; omit for the first page.
string
ISO 8601 timestamp; return only bookmarks updated after this time.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: GLASP_LIST_HIGHLIGHTSReturn one page of the connected user’s non-Kindle Glasp documents and their nested highlights, optionally limited to records updated after a timestamp.

Input Parameters

string
Continuation cursor returned as next_cursor by a previous call; omit for the first page.
string
ISO 8601 timestamp; return only documents with highlights updated after this time.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: GLASP_LIST_KINDLE_HIGHLIGHTSReturn one page of the connected user’s read-only Kindle books and highlights imported into Glasp, optionally limited to records updated after a timestamp. Use the returned cursor to retrieve the next page.

Input Parameters

string
Continuation cursor returned as next_cursor by a previous call; omit for the first page and pass it back unchanged.
string
ISO 8601 timestamp; return only Kindle records updated after this time.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: GLASP_LIST_SUMMARIESReturn one page of AI summaries generated by the connected user for pages, PDFs, and YouTube videos, optionally limited to records updated after a timestamp.

Input Parameters

string
Continuation cursor returned as next_cursor by a previous call; omit for the first page.
string
ISO 8601 timestamp; return only summaries updated after this time.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: GLASP_SAVE_BOOKMARKSave a URL as a Glasp bookmark, or update the existing bookmark when that URL is already saved.

Input Parameters

string
required
URL to save or re-save.
string
Bookmark title; Glasp defaults it to the URL when omitted.
string ("article" | "video" | "tweet" | "pdf" | "book")
Content category; Glasp infers it from the URL when omitted.
string
Description of the bookmarked page.
string
Thumbnail URL for the bookmark.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: GLASP_UPDATE_HIGHLIGHTUpdate editable fields on one Glasp highlight identified by its source URL and highlight ID.

Input Parameters

string
required
Source document URL returned by list or create highlights.
string
Replacement note for the highlight.
string
Replacement highlighted text.
string ("pink" | "yellow" | "blue" | "green")
Replacement highlight color.
number
Replacement position in the source.
string
required
ID of the highlight to update.
string
Replacement deep link to the highlight.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not