Base URL
- Production:
https://api.lithoblocks.com - Development:
http://localhost:8787
Authentication
All endpoints use LithoBlocks API keys with Bearer authentication.Getting an API key
- Log into your LithoBlocks organization dashboard
- Go to API Keys in your account settings
- Create an API key and select the scopes you need
- Copy the key (it is shown only once)
Using your API key
Send the key in theAuthorization header:
Scopes and roles
Scopes are tied to your organization role:- All roles:
templates:read,messages:create,entities:read - Member+:
templates:write,entities:write - Admin+:
organizations:admin,users:admin
Organization isolation
All API access is scoped to your organization. You can only access resources in the organization where the API key was created. Cross-organization access is not supported.Endpoints
The LithoBlocks API section in the sidebar lists all endpoints generated from the OpenAPI specification. Use the playground on each endpoint page to try requests with your API key.Next steps
Templates
Build templates in the UI, then manage them via the API.
Quickstart
Get started with templates and Slack.

