The HERO REST API authenticates with API keys issued from your account settings. Pass the key on every request as:Documentation Index
Fetch the complete documentation index at: https://developers.myhero.so/llms.txt
Use this file to discover all available pages before exploring further.
Generating an API key
- Sign in at app.myhero.so.
- Open Settings → Account → API Keys and click Generate new API key.
- Choose a name, workspace scope (all of your workspaces, or specific ones), and an expiry. Copy the key — it’s shown once.
- Use it in any
Authorization: Bearer <key>header.
MCP authentication is separate
If you’re connecting an AI tool via MCP, don’t use a REST API key. MCP uses its own personal access tokens (prefixhero_at_*) issued from Settings → MCP Tokens. See the MCP overview for the MCP-specific flow.
If you send an MCP token to the REST API, the server returns a 401 with error: "WrongTokenKind" to make the mismatch obvious.