API Key Authentication
All REST endpoints require an API key passed in theX-API-KEY header. REST does not use OAuth.
The MCP server uses OAuth for ChatGPT custom connectors. Claude, Cursor, and other header-based MCP clients use the same API key as REST.
Getting Your API Key
You can find your API key in your Octanist dashboard under Settings → API / MCP.Using Your API Key
Include your API key in theX-API-KEY header with every REST request:
X-API-KEY or as Authorization: Bearer. Do not put the key in the URL. ChatGPT connectors use OAuth instead. See MCP.
Security Best Practices
- Store your API key in environment variables
- Rotate your API keys regularly
- Monitor API usage for unusual activity