A key is shown once and kept as a hash. Give it full access or sending only, tie it to one domain, and revoke it the moment you need to.
Every method needs one scope. Pick a level to see the scopes a key of that level holds, and the roles that hold them in the dashboard.
emails:sendmethods:readaccount:read3 of 30 scopes
Full access
Sending access
One domain
Roles
Creating a key and revoking it are one call each, and one button in the dashboard.
Over MCP an agent is shown only the tools its key may use. With a sending key it gets the tools that send.
8 tools
Of 119, with a sending key.
Still answered
A call to any other tool answers with forbidden.
Cut it off
Revoke the key and the agent stops at once.
One key each
The logs then show which agent made a request.
Declared once: a REST endpoint, an SDK call, a CLI command and, wherever a program may use it, an MCP tool.
Short answers about API keys.
No. A key is shown once, when it is made, and only a hash of it is stored. Make a new key and revoke the old one.
Sending access for anything that only sends. Such a key can send email, read the list of methods and read its own account, and nothing else. Use full access for a program that manages the workspace.
Yes, when it has sending access. It then sends from that domain only, and an email from another domain is refused.
It stops working at once, and every request with it is refused from then on. Revoking cannot be undone.
On a server. A key in a browser or an app can be read by anyone who has the app.
Every request made with a key is kept in the logs, with its path, its status and how long it took. The key list shows when each key was last used.
Create a key and send, or clone the repository and run it yourself.