Create API tokens
Organization API tokens let scripts, CI pipelines, and other systems call the Elaichi API without a browser session.
Where to find it: Settings → API tokens
You need api_token:create to create, list, and revoke your own tokens — built-in Member and above include it. Without any token permission, the tab shows that access is required. Seeing every token in the organization needs api_token:view; revoking someone else’s needs api_token:manage. Built-in Org Owner and Org Admin include both.
How tokens work
| Property | Behavior |
|---|---|
| Scope | Bound to the current organization only |
| Permissions | Act as the person who created the token — whatever their role in this org allows |
| 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 role changes 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 your MCP endpoint, which authenticates over OAuth as you rather than a token.
- Last used updates when the token successfully authenticates (throttled), so “Never” may simply mean unused.
- Prefer a dedicated admin account on the least-privileged role that still does the job when minting automation tokens, so the token does not inherit broader Owner access than needed.