Get your API key
Go to your OpenCX dashboard and navigate to Settings > API Keys > Create API Key. Copy the generated key.
See Authentication for details on key scopes and rotation.
Self-hosted instances
If you are running a self-hosted OpenCX deployment, set theOPENCX_BASE_URL environment variable to your instance URL:
| Variable | Required | Default | Description |
|---|---|---|---|
OPENCX_API_KEY | Yes | — | Your OpenCX API key |
OPENCX_BASE_URL | No | https://api.open.cx | API base URL for self-hosted deployments |
Related Documentation
MCP Introduction
Overview and core concepts
Authentication
Create and manage API keys
Use Cases
Common workflows and examples
Troubleshooting
Debug connection and authentication issues