DocsGetting started
Introduction
What the WebBites API does, and what it does not.
What this API is
A small REST API over your WebBites library. You authenticate with an API key, send JSON, and get JSON back. There is no SDK to install and nothing to configure — if your language can make an HTTP request, it can talk to WebBites.
Everything you reach through it belongs to the account the key was made on: your bookmarks, your tags, your usage, your webhooks. There is no way to read anybody else's library with it.
https://api.webbites.io/v1/apiWhat you can do with it
How a save works
Saving is asynchronous, and that shapes most of the code you will write against this API. POST /bookmarks answers immediately with "status": "processing", then the screenshot, the summary and the automatic tags are generated in the background. A minute later the same bookmark comes back with all of it filled in.
- You post a URL. The response carries the new bookmark's
idstraight away. - We fetch and enrich the page. Screenshot, description, summary, tags, favicon.
- You find out it is done — through a webhook, or by re-reading
GET /bookmarks/:id.
The Saving bookmarks guide has the code for both routes.
Where to start
The generated OpenAPI reference is the machine-readable source of truth, and stays in step with the server.
