Docs
Reference for developers building on Basehim: themes, apps, the REST API and AI agents.
35 articles
-
API reference
Every REST, OAuth and MCP endpoint in Basehim core, with the scope an API key needs for each, checked against the routes in Basehim 1.2.53.
-
REST API guide
Authenticate with API keys or JWT, understand scopes, responses, errors and pagination, and call the API from curl, JavaScript, PHP and Python with tested examples.
-
App development
How a Basehim app is structured: the app.json manifest, the entry class, lifecycle methods, what boot() is for, the helpers the base class gives you, and how to package and publish an app.
-
Theme development
How a Basehim theme is put together: the folder layout, theme.json, templates and partials, the data core passes in, bh_head() and bh_footer(), assets, pagination and packaging.
-
Developer overview
What Basehim is under the hood, the three ways to extend it (themes, apps and the API), how a request flows through it, and a local setup you can run in five minutes.