-
Notifications
You must be signed in to change notification settings - Fork 0
API Tokens
Phillip Dornauer edited this page Apr 1, 2026
·
1 revision
API tokens authenticate requests to the REST API. Manage them under System → API Tokens.
- Go to System → API Tokens
- Click New Token
- Enter a descriptive name (e.g. "Mobile App", "Next.js Frontend")
- Choose abilities:
read,write, or*(full access) - Optionally set an expiry date
- Copy the token immediately — it is only shown once
Authorization: Bearer your-token-here
Example with curl:
curl -H "Authorization: Bearer your-token-here" \
http://localhost:8080/api/marble/items/blog_postExample with JavaScript:
const res = await fetch('/api/marble/items/blog_post', {
headers: { 'Authorization': 'Bearer your-token-here' }
});
const data = await res.json();If a blueprint has API Public enabled, its items can be fetched without a token. All other blueprints require a valid token.
Click Delete next to the token. The token is immediately invalidated.