Get Your API Key
- Go to Configuration → API Keys in the dashboard
- Click Create API Key and copy it securely
Using Your API Key
All StackOne APIs use Basic Auth with your API key as username and empty password.- cURL
- TypeScript
- Python
Account ID Header
For APIs that operate on a linked account, include thex-account-id header:
- Get Account
- Execute Action
Get account IDs from the List Accounts endpoint or the Accounts page in the dashboard.
API Key Scopes
| Scope | Access |
|---|---|
| Full Access | All operations (default) |
| Read Only | GET requests only |
| Accounts | Account management |
| Actions | Action execution via RPC |
Fine-grained scopes are an add-on feature. Contact your account manager for access.
Base URL
| API | Pattern |
|---|---|
| Platform | /accounts, /actions/rpc, /connectors |
| Unified | /unified/{category}/{resource} |
| MCP | /mcp |
Error Responses
| Code | Meaning |
|---|---|
401 | Invalid or missing API key |
403 | API key lacks required scope |
404 | Invalid account ID |
412 | Account suspended or expired |
Next Steps
API Keys Guide
Create, scope, and manage API keys
Basic Auth Guide
Detailed encoding examples and SDK usage