- API Key Authentication - Best for internal integrations and quick setup
- OAuth 2.0 Authentication - Best for publishing apps in the Gong Collective
API Key Authentication
To setup your Gong app in Refold for API Key, you will need the following credentials from your Gong account:- Access Key
- Access Key Secret
Pre-requisites
- Gong account with Technical Administrator permissions.
You must be a Technical Administrator in Gong to create and manage API keys.
Getting API credentials in Gong
To acquire the above mentioned credentials from Gong, please follow the steps mentioned below:- Log in to your Gong account at
https://app.gong.io. - Navigate to Company Settings by clicking on the settings icon, then go to Ecosystem → API.
- In the API Keys section, click on Create or Get API Key to generate new credentials.
- Provide a descriptive name for your API key to identify its purpose.
- Select the required API Scopes based on the actions you need to perform.
- Click Create to generate the Access Key and Access Key Secret.
- Copy both the Access Key and Access Key Secret immediately and store them securely.
- The API uses Basic Authentication with the format
AccessKey:AccessKeySecretencoded in Base64.
Configuring API Key credentials in Refold
App settings page lets you configure the authentication settings for anAPI Key based application. For your customers to provide you authorization to access their data, they would first need to install your application. This page lets you set up your application credentials.
Provide the acquired Access Key and Access Key Secret under Settings of the app and save it.
OAuth 2.0 Authentication
To setup your Gong app in Refold for OAuth, you will need the following credentials from your Gong Developer account:- Client ID
- Client Secret
- Scopes
Pre-requisites
- Gong account with Technical Administrator permissions.
If you haven’t already created an integration in Gong, you’d need to create one. OAuth is recommended if you want to publish your app in the Gong Collective.
Creating an app in Gong
To create a Gong app and acquire the above mentioned credentials, please follow the steps mentioned below:- Log in to your Gong account at
https://app.gong.io. - Navigate to Company Settings → Ecosystem → API in the Admin Center.
- Click on Create Integration to create a new OAuth application.
- Enter the Integration Name, Description, and upload a Logo for your application.
- Select the required Scopes based on the API endpoints you need access to.
- Go to your
Apps catalogin Refold > Search forGong>Settings>Use your credentials>Callback Url> Copy it. - Navigate to the Redirect URI field in your Gong integration settings > Paste the Callback Url > Click Save.
- Once the integration is created, copy the Client ID and Client Secret from the integration details.
Configuring OAuth credentials in Refold
App settings page lets you configure the authentication settings for anOAuth2 based application. For your customers to provide you authorization to access their data, they would first need to install your application. This page lets you set up your application credentials.
Provide the acquired Client ID and Client Secret under Settings of the app and save it.
Configuring Scopes
Refold lets you configure what permissions to ask from your users while they install your application. The scopes can be added or removed from the App settings page, underPermissions & Scopes section.
For some applications Refold sets mandatory scopes which cannot be removed. Additional scopes can be selected from the drop down. Refold also has the provision to add any custom scopes supported by the respective platform.
Once the scopes has been added to the application in Refold, go to your Gong integration settings and ensure the selected scopes match those configured in Refold. Common scopes include api:calls:read:basic, api:calls:create, api:users:read, and api:meetings:user:create.
Actions and triggers
Once the above setup is completed, you can create orchestrations of your use-cases using Gong actions and triggers. Following are the set of Gong actions and triggers supported by Refold.- Actions
- Triggers
Call
Call
- List Calls - List calls that took place during a specified date range in Gong.
- Create Call - Create a call and provide a downloadable media URL in Gong.
- Get Call By Id - Get a call by its unique identifier in Gong.
- List Call Transcripts - List call transcripts in Gong.
- List Extensive Calls - List extensive calls with detailed information in Gong.
- Add Call Media - Add call media as a subsequent request in Gong.
Library
Library
- List Library Folders - List all library folders in Gong.
- List of Calls in Folder - List calls in a specific library folder in Gong.
Meeting
Meeting
- Create Meeting - Create a new meeting in Gong.
- Update Meeting - Update an existing meeting in Gong.
- Delete Meeting - Delete a meeting in Gong.
Tracker
Tracker
- List Trackers - List all trackers in Gong.
User
User
- Search User - Search for a user by their email address or phone number in Gong.
- List Users - List users that match the specified filter in Gong.
- Get User By Id - Get a user by their unique ID in Gong.
Scorecard
Scorecard
- List Scorecards - List all scorecards in Gong.
Content
Content
- Create Content View Event - Create a content view event in Gong.
- Create Content Share Engagement Event - Create a content share engagement event in Gong.
Others
Others
- HTTP Request - Make HTTP API calls to any Gong documented REST APIs.
- Incremental Sync - Check for new data in the endpoint.