-
Notifications
You must be signed in to change notification settings - Fork 0
Authentication
drrobl0xx edited this page Jul 28, 2026
·
2 revisions
Jokelboard uses Bearer token authentication. All tokens begin with jkb_.
| Kind | Scope | Use case |
|---|---|---|
| Board token | Single board | Bot integrations, per-project automation |
| Profile token | All boards you own | Personal scripts, CLI tools |
| Org token | All boards in an organisation | Org-wide automation, admin tasks |
Generate tokens from your Jokelboard account settings.
import { JokelboardClient } from '@yeetgodpro1324/jokelboard-js';
const client = new JokelboardClient({
token: process.env.JOKELBOARD_TOKEN,
});import { JokelboardClient } from '@yeetgodpro1324/jokelboard-ts';
const client = new JokelboardClient({
token: process.env.JOKELBOARD_TOKEN,
});import os
from jokelboard import JokelboardClient
client = JokelboardClient(token=os.environ["JOKELBOARD_TOKEN"])
# or as a context manager (auto-closes the HTTP session)
with JokelboardClient(token=os.environ["JOKELBOARD_TOKEN"]) as client:
...- Store tokens in environment variables — never hard-code them.
- Use the narrowest token scope that satisfies your use case (board > profile > org).
- Rotate tokens if they are exposed.