Create an AI connector integration key (value shown once)
Owners and admins. The key acts as the caller: it stops working if the caller leaves the workspace, loses an allowed role, or becomes folder-restricted. It holds exactly {"mcp":["read"]}, works only with the AI connector (MCP) server and is refused by every REST route. Only its SHA-256 hash is stored (key_full is NULL). Expiry defaults to, and may not exceed, 90 days. The caller must be eligible (current role allowed, not folder-restricted, workspace not cancelled/suspended).
POST
https://api.channelautomation.com/api/workspaces/{workspaceId}/ai-connectors/integration-keysAuthorization
Path parameters
Request body JSON required
Returns
201
{ success, data: { id, name, expires_at, created_at, api_key (crm_live_…, shown once), warning } }
