API Keys
Aithroyz API keys (prefixed aitz_) give programmatic access to the Aithroyz API for managing environments, checking status, and integrating with CI/CD pipelines.
API keys authenticate to the Aithroyz REST API and the MCP endpoint. They are scoped to your account and carry the same permissions as your dashboard session.
Creating an API key
1
Go to Settings → API Keys
Find the API Keys page in your dashboard settings.
2
Click + New Key
Give the key a descriptive name (e.g. "CI/CD pipeline" or "n8n integration").
3
Copy the key immediately
The full key is only shown once at creation. Copy it to your secrets manager now — you cannot retrieve it later.
Using an API key
Pass the key as a Bearer token in the Authorization header:
# List all your environments
curl https://dashboard.aithroyz.com/api/mcp/aithroyz/list-tenants \
-H "Authorization: Bearer aitz_your_key_here"
# Get a specific environment
curl https://dashboard.aithroyz.com/api/mcp/aithroyz/get-tenant?slug=my-env \
-H "Authorization: Bearer aitz_your_key_here"⚠
Never hardcode API keys in source code or commit them to version control. Use environment variables or a secrets manager (e.g. GitHub Actions Secrets, GCP Secret Manager).