Skip to main content
Notealy uses Bearer tokens for the public API. Tokens are issued per organization, carry one or more scopes, and are passed in the Authorization header of every request.
With the SDK the token is configured once on the client:

Verify your token

Once you have a token, the simplest way to confirm it works is GET /v1/me. It requires no specific scope and returns the token’s identity card and the organization it’s attached to.
A 200 here means your token is valid and you know which organization and scopes the rest of the API will operate against. A 401 means the token is missing, malformed, revoked or expired.

Creating a token

  1. Sign in to your Notealy dashboard.
  2. Open Settings → API Tokens (Owner or Admin role required).
  3. Click New token, pick a name, select the scopes you need, and optionally set an expiry date.
  4. Copy the token — it is shown only once.
If you lose a token, revoke it and create a new one — there is no recovery flow.

Scopes

A token can only call endpoints that match its scopes. Pick the narrowest scope that fits your integration; you can always issue a second token with broader scopes for a different use case. GET /v1/me requires no scope at all — any active token can call it. Wildcards match within a resource: people:* covers any people:<action>; the bare * matches everything.

Expiry and revocation

  • Expiry — Set an expiresAt date when creating the token. After that timestamp the token is rejected with 401 Unauthorized.
  • Revocation — Delete the token in the dashboard at any time. Revoked tokens are rejected immediately.
  • Rotation — Best practice is to issue a new token first, switch your integration over to it, then revoke the old one. Tokens carry no shared state; you can run two in parallel during the cutover.
The dashboard shows the last time each token was used and the IP that used it, so you can spot stale or compromised tokens.

Errors