G

Gainsight REST APIs

REST discovered

Details
Docs
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/About/API_Documentation_Overview
Authentication
Gainsight API Access Key api_key discovered Get key ↗
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.

Gainsight OAuth application (user OAuth / PKCE) oauth2 discovered Set up OAuth ↗
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.

Gainsight M2M OAuth client oauth2_cc discovered Set up OAuth ↗
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>.