User Access Tokens
User access tokens are long-lived API tokens for authenticating with App Maker from outside the web UI — the App Maker CLI, CI pipelines, or direct API calls. They complement SSH public keys: the SSH key grants git access to project repositories, while the access token authenticates platform API operations.
Creating a Token
Open your account menu and go to User Access Tokens.
Click Create.
Fill in:
Organization — the organization the token is created for. App Maker preselects the organization you are working in. This field is shown only when you belong to more than one active organization; otherwise the token is created for your only organization.
Name — a label identifying where the token will be used (e.g.
ci-pipeline,laptop-cli).Lifetime — how long the token stays valid: one week, one month, three months, six months, or one year.
Privileges — the permission scopes granted to the token. The list offers only the privileges you hold in the chosen organization; if you change the organization, privileges the new one does not give you are removed from your selection. Grant only what the consumer needs; a CI token that only triggers builds does not need user-management privileges.
Confirm. The token value is displayed once — copy it immediately and store it in a secret manager. It cannot be retrieved again later.
Managing Tokens
The token list shows the tokens of one organization at a time: the organization you are working in, or the one you pick in the Organization field above the list when you belong to more than one active organization. Each row shows the token's name, its organization, creation date, and expiry. Tokens cannot be edited — to change lifetime or privileges, create a new token and revoke the old one.
Revoke — delete a token to invalidate it immediately. Any CLI or CI job using it will start receiving authentication errors.
Expiry — tokens expire automatically at the end of their lifetime; rotate tokens used in CI before their expiry date.
Using a Token with the CLI
The App Maker CLI uses the token to authenticate platform operations. See the AppMaker CLI documentation for the login/configuration command, and Setup Existing Project on CLI for the full local setup flow.
Using a Token with the API
Pass the token in the x-access-token header. This is an alternative to the Authorization: Bearer <jwt> header a signed-in web session uses — send one or the other, not both. When both are present the session JWT wins and the access token is ignored.
The API base URL is https://abp.akinon.net/api/v1.
Two rules govern what the token can reach:
It is bound to one organization. A token works only against the organization it was created in. Pointing it at a different organization's
:organizationIdreturns403, and this holds regardless of how much access the person who created the token has — a token is never wider than the organization it was issued for. To work with a second organization, create a token for it by choosing that organization in the Organization field.It carries only the privileges you granted it. The privileges chosen at creation are the ceiling, even when the creating user has more. A request needing a privilege the token lacks returns
403.It cannot create a wider token. A token can create another token only with privileges it holds itself.
Owner-only actions need a signed-in session. Creating, editing, or deleting roles works only from the App Maker web app while you are signed in, not with a token.
A token whose organization membership was removed after the token was created also stops working, even before its lifetime expires.
Security Notes
Treat tokens like passwords: never commit them to a repository or paste them into shared documents.
Prefer short lifetimes and narrow privileges; create separate tokens per consumer so one can be revoked without breaking the others.
Last updated
Was this helpful?

