Skip to main content
Gainsight Inc.

Generate API Access Key

Gainsight NXT

This article supports Gainsight NXT, the next evolution of the Customer Success platform. If you are using Gainsight CS Salesforce Edition, you can find supporting documentation by visiting the home page, and selecting CS > Salesforce Edition.

Not sure what your team is using? Click here.


IMPORTANT - Articles Impacted due to 6.34 October NXT Release

Due to the v6.34 October, 2022 release, this article has been impacted. Steps, images, and playable GIFs in this article will soon be updated to reflect the latest changes.

For more information about the latest UI changes, click here.



IMPORTANT: Gainsight is upgrading Connectors 2.0 with Horizon Experience. This article applies to tenants which have been upgraded to the Horizon Experience for Connectors 2.0. If you are using Connectors 2.0 with the previous version, you can find the documentation here.

This article explains how Admins can generate the Gainsight API access key.

Admins can create only 1 Access key per org and it does not expire. Gainsight authenticates the REST API requests by verifying this access key and if the authentication succeeds, access to the Gainsight platform is granted to developers through REST APIs. 

You can reset the existing access key anytime, but the new access key should be replaced in the headers of all future API requests.


Gainsight API Access key is a unique access key used for authentication of the Gainsight REST API requests. Gainsight Admins can generate the API key and is consumed by the developers to pass the key in the request header “Access Key” for all the API requests to Gainsight.

Generate Access Key

To generate the Access key:

  1. Navigate to the Administration > Connectors 2.0 > Connections page.
  2. Click Create Connection. The Create Connection dialog appears.
  3. From the Connector dropdown list, select Gainsight API.
  4. Click Generate Access Key.

A new access key is generated that you can copy and use as authentication for all of the REST API requests to Gainsight.

Edit Gainsight API Connection

Once the connection is established, Admins can edit the Gainsight API Connection to reset the existing API access key.

To reset the existing API access key:

  1. Click the Context Menu of the created Connection and select Edit Connection. The Edit Connection dialog appears.
  2. Click Reset Access Key to generate a new access key.
  3. Click Yes on the confirmation message.

A new access key is generated that you can copy and use as authentication for all of the future REST API requests to Gainsight.

Note: New access key should be replaced in the headers of all the future API requests. If it is not replaced, all of the future API requests to the specific Gainsight org will fail.

  • Was this article helpful?