Skip to main content
The public WebStash API is a bearer-authenticated REST API for saving, searching, enriching, and managing saved content.

Base URL

Authentication

Send your API key in the Authorization header:

Main endpoint areas

  • Auth and account
  • Save and upload
  • Search and AI
  • Pages, notes, highlights, tags, and groups
  • Import and export
  • OAuth app integration
  • OAuth discovery for external clients
Collections remain available as a legacy, tag-derived API for existing clients, but groups are the preferred organization model.

Common responses

  • 200 for successful reads
  • 201 for created resources
  • 202 for accepted async work
  • 400 for invalid input
  • 401 for missing or invalid auth
  • 402 for quota exceeded
  • 404 for missing resources
  • 409 for conflicts such as API key limits
  • 429 for rate-limited flows

Async operations

Some actions do not finish inline. They return 202 and move the work into background processing. Common examples:
  • saving a page
  • uploading a file
  • importing bookmarks
  • reindexing a page

OpenAPI reference

The generated endpoint reference in this docs site comes from docs/openapi/webstash.openapi.json. It currently covers:
  • account auth and API keys
  • save, upload, and import flows
  • search and AI routes
  • page, tag, note, and highlight management
  • export, graph, and stats
  • OAuth registration, authorization, and token exchange