Skip to content

API reference

API: Account

Markdown version

MethodPathWhat it doesScope
GET/v1/meWho am I: principal, active organization, role and scopes—
GET/v1/me/limitsYour plan's limits before you reach them: how much of each is used, when it resets, what stops when it's reached and what still works (web app only)—
GET/v1/me/navYour navigation: pinned and recent pages and records, closed sidebar groups, whether shortcuts are on, which modules and setups your organization has, and whether you put the tour away (web app only)—
PATCH/v1/me/navTurn keyboard shortcuts on or off, set which sidebar groups are closed, or put the free-plan tour away (or bring it back) (web app only)—
PUT/v1/me/nav/pinsSet your pinned pages and records (up to 12, in order) (web app only)—
POST/v1/me/nav/recentNote a page or record you opened (kept to your last 12) (web app only)—
PATCH/v1/me/session-replayOpt yourself out of session replay (your recordings are deleted), or back in (web app only)—
GET/v1/session-replayWhether this browser session is recorded for session replay (masked; off unless an owner turned it on), the pages never recorded, and how long recordings are kept (web app only)—
POST/v1/session-replay/eventsThe session replay recorder's batch (masked snapshots, navigation, clicks, scrolls). Refused whole if any text isn't masked; events on sensitive pages are dropped (web app only)—
POST/v1/ui-eventsRecord how the app is used in this browser (first-party, no cookies beyond your session): navigation, the palette, empty searches (their length only), setup steps left, first use of a feature, errors shown, and signs of confusion (a form refused again and again, pages visited back and forth, a setup step with no progress). Fixed ids and counts only (web app only)—

Examples

GET /v1/me

Who am I: principal, active organization, role and scopes

curl -s "https://api.cubbylark.com/v1/me" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/me`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

Request and response schemas: https://www.cubbylark.com/openapi.json. All resources: API reference.

Send feedback

Tell us what's broken, confusing or missing on this page, or an idea. It goes to the team that builds the product.
Please don't include passwords or card numbers.
Only to reply about this. Never added to any mailing list.