Skip to main content
All StackOne APIs use Basic Auth with your API key as username and an empty password.

Get Your API Key

  1. Go to Configuration → API Keys in the dashboard
  2. Click Create API Key and copy it securely
API keys are shown only once. Store securely in a password manager or environment variable.
For detailed steps with screenshots, see the API Keys Guide.

Using Your API Key

All StackOne APIs use Basic Auth with your API key as username and empty password.
# -u flag auto-encodes to base64
curl -u "$STACKONE_API_KEY:" https://api.stackone.com/accounts
Get your API key from Configuration → API Keys in the dashboard.

Account ID Header

For APIs that operate on a linked account, include the x-account-id header:
curl -u "$API_KEY:" \
  -H "x-account-id: your-account-id" \
  https://api.stackone.com/accounts/your-account-id
Get account IDs from the List Accounts endpoint or the Accounts page in the dashboard.

API Key Scopes

ScopeAccess
Full AccessAll operations (default)
Read OnlyGET requests only
AccountsAccount management
ActionsAction execution via RPC
Fine-grained scopes are an add-on feature. Contact your account manager for access.

Base URL

https://api.stackone.com
APIPattern
Platform/accounts, /actions/rpc, /connectors
Unified/unified/{category}/{resource}
MCP/mcp

Error Responses

CodeMeaning
401Invalid or missing API key
403API key lacks required scope
404Invalid account ID
412Account suspended or expired
For all error codes including rate limits (429), timeouts (408), and provider errors (502), see the Error Codes Guide.

Next Steps