Overview
Build powerful clients, automations and more with the API.
Unlike other forum software, Storyden is built around a (fairly) HTTP standards-compliant RESTful API. This enables endless possibilities for developers to build powerful frontends, automations, integrations and more.
Using the API
To start experimenting with the API, get a local instance running:
Once you've waited roughly 1 millisecond for Storyden to boot up, you can start interacting with it via your favourite HTTP client. The OpenAPI specification is available at:
You can also access interactive API documentation, powered by Scalar, at:
Because Storyden uses simple browser cookies, you can use the docs to immediately start playing with the API.
Authentication
Storyden uses secure cookies for authentication. You can register for an account or log in using the API or normally, via a browser to obtain a session token. You'll find the session cookie under a cookie named:
Include this with all requests to the API. For example, using curl register for a new account on a fresh local instance:
Now use the -b cookies.txt
option for cURL to include the session cookie in all requests. For example, to get a list of all members, you will see yourself in the list:
You'll see your account information in the response:
API tokens
Service account tokens for programmatic/bot access is coming soon!