Create API tokens
Organization API tokens let scripts, CI pipelines, and other systems call the Elaichi API (and MCP flows that require an extra token) without a browser session.
Where to find it: Settings → API tokens
You need Manage API tokens (api_token:manage). Without it, the tab shows that access is required. Built-in Org Owner and Org Admin include this permission.
How tokens work
| Property | Behavior |
|---|---|
| Scope | Bound to the current organization only |
| Permissions | Act as the person who created the token — the union of that member’s roles in this org |
| Secret | Shown once at creation; never viewable again |
| Revoke | Immediate; clients using that token fail right away |
Treat a token like a password for whoever created it. If that person’s roles change later, effective access of existing tokens follows their current membership permissions.
Create a token
- Open Settings → API tokens.
- Choose Create API token.
- Enter a Name that identifies where it will be used (for example
CI pipelineorInventory sync). - Choose Create.
- Copy the token immediately. Acknowledge that you stored it securely, then choose Done.
The list shows name, created date, and last used (or Never). It never shows the secret again.
You'll know it worked when: The new row appears in the table and your client can authenticate with the copied value.
Anyone with the raw token can use this organization within the creator’s permissions. Store it in a secret manager — not in source control or chat.
Revoke a token
- On the API tokens list, choose Revoke for that row.
- Confirm. Elaichi asks you to confirm it’s you before the revoke completes.
- Update any clients that still embed the old value.
Revoke cannot be undone — create a new token if you still need access.
Good to know
- Tokens are separate from SCIM tokens (provisioning only) and from MCP server credentials.
- Last used updates when the token successfully authenticates (throttled), so “Never” may simply mean unused.
- Prefer a dedicated admin account with least-privilege roles when minting automation tokens, so the token does not inherit broader Owner access than needed.