Loading help center
Getting Started
Learn how Buuk authenticates API requests and how to keep credentials secure.
All Buuk API endpoints require HTTPS. Authenticated routes expect a Bearer token in the Authorization header unless noted otherwise in the reference.
Create tokens with POST /auth/token. Each token is scoped to a single workspace and inherits the permissions of the user who created it.
Authorization: Bearer buuk_live_abc123Authentication failures return 401 Unauthorized with a JSON body:
{
"error": "invalid_credentials",
"message": "Email or password is incorrect."
}Official SDKs attach the bearer token automatically once configured:
import { Buuk } from "@buuk/sdk";
const client = new Buuk({ token: process.env.BUUK_API_TOKEN });
const { data } = await client.articles.list({ status: "published" });