Skip to content

Personal access tokens

Terminal window
npm install @reminix/sdk
import { createClient } from "@reminix/sdk";
const reminix = createClient(); // reads REMINIX_API_KEY

GET /v1/user/me

Returns the user the personal access token belongs to, with their workspace memberships.

await reminix.user.me();
More about this endpoint

Useful as an integration smoke test (“who am I?”).

DELETE /v1/user/token

Revokes the personal access token used to call it — signing out from a script or the CLI (logout).

await reminix.user.revokeToken();
More about this endpoint

The token stops working immediately; other tokens are untouched.