How to create an Echoia API token
Open Settings, tab Developers, click New token, name it, tick its permissions and workspaces, then copy the key: it is shown only once. The same key works for the REST API, the agent skill and the MCP connector, and you can revoke it at any time.
An API token is a key that lets a script or an AI agent act in your workspace without your password. You decide what it may do and where. If your assistant can sign in to Echoia by itself, as Claude and ChatGPT do, you do not need a token: see connect Claude.
Before you start
- You must be owner or admin of the workspace. Other roles cannot create tokens. See roles and permissions.
- Tokens are available on every plan, the Free plan included.
- A workspace can hold 10 active tokens. Apps connected by sign-in do not count in that total.
- Have a password manager or a secrets store ready. You cannot display the key again later.
Create a token
- 1Open Settings, then the Developers tab.
- 2In the API tokens block, click New token.
- 3Fill Name with who or what will use it, for example "Claude assistant" or "Weekly report script".
- 4Under Permissions, tick what the key may do (table below).
- 5Under Workspaces, tick where it may act. Keep it narrow.
- 6Click Create token.
- 7Copy the key under the message Token created: copy it now, it will never be shown again, store it, then click I saved it, hide.
Choose the permissions
| Permission | What it allows | Acts publicly |
|---|---|---|
| Read | Accounts, posts, stats, comments | No |
| Write | Create drafts and scheduled posts | At the scheduled time |
| Publish | Publish posts immediately, without review | Yes |
| Engage | Reply to comments as your accounts | Yes |
Start with Read, add Write when you want the agent to fill your calendar, and keep Publish and Engage for tools you trust. A tool that lacks a permission is refused by Echoia, whatever the agent tries.
Use the token
- MCP: under MCP: connect an AI agent, pick your tool in CLI clients to get the command or the config with your key filled in, or Remote (claude.ai, ChatGPT) for an address that contains the key.
- Agent skill: the block Agent skill gives the commands to install it for Claude Code and compatible agents.
- REST API: send the key in the Authorization header, as the word Bearer, a space, then the key. See authentication in the documentation.
- The full reference is in the developer documentation.
Manage and revoke tokens
- Each line shows the first characters of the key, who created it, when it was last used and the workspaces it reaches.
- Click Edit permissions to add or remove permissions, then Save. The change applies on the next request.
- Click Revoke to disable a key. It stops working on the next request and cannot be restored.
- A key stops working when the person who created it loses access to the workspace or is no longer owner or admin. Let teammates create their own keys, and create the keys of your automations yourself.
Limits and common errors
- Token limit reached (10 per workspace). Revoke one first: revoke a key you no longer use.
- Lost key: it cannot be shown again. Revoke it and create a new one.
- A 401 answer means the key is wrong or revoked. A refusal that mentions a missing permission means the key exists but lacks that permission: add it with Edit permissions.
- A token never gives access to DMs, automations, listening, ads or billing. It covers accounts, posts, statistics, comments and replies.
- What a token publishes counts in your plan like anything published from Echoia. Request limits are listed in the documentation.
- Never put a key in a public repository, a screenshot or a shared document. If you connect ChatGPT or claude.ai with the address that contains the key, that address is the secret.
Related questions
Is a token tied to one workspace?
It reaches only the workspaces you ticked when you created it. Use one key per client workspace if you want to be able to cut access client by client.
Can a token do more than its creator?
No. A key never has more rights than the person who created it.
What is the difference between a token and a connected app?
A connected app is created when an assistant signs in to Echoia by itself, with no key to copy. Both appear in Settings, Developers, and both can be edited or cut there.
[ RELATED GUIDES ]