Authorization header. MCP endpoints use a different credential and reject keys sent in the query string.
Create an API key
1
Open the dashboard
Sign in at statusstack.com/dashboard and switch to the team the key should access.
2
Create the key
Go to Settings → API Keys and create a key with the permissions you need.
3
Copy it immediately
The secret is shown once. Store it in an environment variable or a secret manager — never in source control or client-side code.
Send the key
Permissions
Each key can grant one or more of:
A missing or invalid key returns
401 with { "error": "..." }. A valid key without the required permission returns 403.
v1 keys can only call v1 endpoints. v2 keys can call v1 and v2.
Team scope
Most v1 operations require a team-scoped key. Unscoped keys are rejected with403 rather than falling back to a session team.
- Create a key while you are in the team you want to automate.
- Multi-team organizations need a key per team.
- Switching teams in the dashboard does not change an existing key’s scope.
404, not 403, so a scoped key cannot probe for stacks it cannot see.
MCP credentials
MCP routes (/v1/mcp/*) do not accept a normal v1 API key. Use one of:
- An MCP connection key (
mcp_sk_...) created in the customer dashboard, sent asAuthorization: BearerorX-API-Key - An OAuth 2.1 access token with the
mcp:usescope
401 and a WWW-Authenticate header pointing at protected-resource metadata so OAuth clients can discover the authorization server.

