Developers
API authentication
Choose the correct key type and understand what it can do.
On this page
Create and store a keyPublic API and MCP are separateWorkspace and role checksRevoke or rotate credentialsCreate and store a key
- Select the destination workspace.
- Open Settings → API keys and create a named Public API key.
- Copy its plaintext value when shown. It is displayed only once.
- Store it as a secret and send it only in the Authorization header.
Authorization: Bearer smm_REPLACE_MEKey management requires a suitable role and the enabled API-key module. Give each integration its own key so you can revoke it independently.
Public API and MCP are separate
| Key audience | Used at | Authorization |
|---|---|---|
| public_api | https://app.mumro.io/api/* | Workspace, current creator role, channel access and modules. |
| agent_mcp | https://mcp.mumro.io/mcp | MCP scopes plus current role and modules. |
An MCP key is rejected by the public API. A Public API key is not a substitute for an MCP key. See MCP setup for agent credentials.
Workspace and role checks
API keys are bound to one workspace and the creator’s current membership. A workspace header cannot move a key to another workspace. Revocation, removed membership or a role change can block an existing integration.
Session-based application requests resolve the workspace on the server, optionally using X-Workspace-Id. For external integrations, use a workspace-scoped API key rather than copying browser session credentials.
Revoke or rotate credentials
Revoke an unused key in Settings → API keys. For rotation, create a replacement, update the integration and revoke the old key. If a credential leaks, revoke it before troubleshooting.
Never place keys in URLs, frontend code, screenshots, public repositories or error reports. Report an error using its request_id instead.