Gainsight REST APIs
accesskey: <credential> In Gainsight CS, go to Generate REST API Key. As a Super Admin, open Administration > Connectors 2.0, create a Gainsight API connection, choose authentication type Access_Key, and click Generate Access Key. Copy the generated key; docs say to send it in the accesskey request header.
Authorization: Bearer <credential> Use OAuth for Gainsight APIs to create an OAuth application in Gainsight with your callback URL, then complete the authorization-code flow to obtain a bearer access token (and refresh token if needed). For MCP, the setup page says all integrations require user-level OAuth 2.1 with PKCE enabled in Gainsight CS.
Authorization: Bearer <credential> In Generate REST API Key, admins can generate an M2M OAuth key from Administration > Connectors 2.0 for server-to-server use. Use that client to obtain a bearer access token via Gainsight's token API, then send the token in Authorization: Bearer <token>.