Skip to content
Developers
GuidesAPI reference
slimwiki.comGet an API key

Guides

  • Quickstart
  • Authentication
  • Errors
  • Pagination
  • Rate limits
  • Content format
  • Versioning

Tools and agents

  • CLI
  • MCP server
  • Agent skill

API reference

  • Overview

Users

  • Retrieve the key ownerget

Accounts

  • List accountsget

Wikis

  • List wikisget
  • Retrieve a wikiget

Pages

  • List pages in a wikiget
  • Search pages in a wikiget
  • Find a page by slug or hashget
  • Create a pagepost
  • Retrieve a pageget
  • Delete a pagedelete
  • Archive a pagepost
  • Restore a pagepost

SlimWiki API · version 1.0.0

API reference

Read and write the wikis and pages you have access to in SlimWiki. Requests are authenticated with a personal API key and act as the person who created it.

Base URL

Base URL
https://api.slimwiki.com

Requests and responses are JSON. Endpoint paths include the version, for example /v1/me. See Versioning.

Authentication

Every request needs a personal API key in the Authorization header, as Bearer swk_…. Create a key in SlimWiki under Profile → API keys. A key acts as the person who created it, with exactly their access, and is either read-only or read-and-write. Each key can make 120 requests per minute. See Authentication and Rate limits.

Endpoints

Users

The owner of the API key.

Users endpoints
MethodPathSummary
get/v1/meRetrieve the key owner

Accounts

The accounts (workspaces) you belong to.

Accounts endpoints
MethodPathSummary
get/v1/accountsList accounts

Wikis

Wikis inside an account.

Wikis endpoints
MethodPathSummary
get/v1/wikisList wikis
get/v1/wikis/{wiki_id}Retrieve a wiki

Pages

Pages inside a wiki.

Pages endpoints
MethodPathSummary
get/v1/wikis/{wiki_id}/pagesList pages in a wiki
get/v1/wikis/{wiki_id}/pages/searchSearch pages in a wiki
get/v1/wikis/{wiki_id}/pages/lookupFind a page by slug or hash
post/v1/pagesCreate a page
get/v1/pages/{page_id}Retrieve a page
delete/v1/pages/{page_id}Delete a page
post/v1/pages/{page_id}/archiveArchive a page
post/v1/pages/{page_id}/restoreRestore a page

SlimWiki Developers

slimwiki.com