Documentation Index

Fetch the complete documentation index at: https://help.gong.io/llms.txt

Use this file to discover all available pages before exploring further.

Introduction

Next
Gong APIV2

Overview

The Gong API allows you to:

  1. Receive the following information from Gong:
    1. Your company's calls in Gong
    2. Your company's users in Gong
    3. Your company's user stats in Gong
    4. Your company's user settings in Gong
    5. Your company's libraries in Gong
  2. Upload new or update call recordings in Gong, in order to support cases where you have an internal system that records calls or obtains them from a third-party entity.
  3. Data privacy: Delete users and all their associated elements.
  4. Upload CRM data into Gong.

Check here to find your base URL for all API calls.

Authentication

There are two ways to retrieve credentials to the Gong Public API:

  1. Retrieve Manually:

    In the Gong API Page (you must be a technical administrator in Gong), click "Create" to receive an Access Key and an Access Key Secret.

    Use the Basic Authorization HTTP header (as per RFC) to access the Public API as shown below:
    Authorization: Basic <token>

    To create the basic token, combine the Access Key and the Access Key Secret with colon (:) and then encode in Base64 as following:
    Base64(<accessKey> : <accessKeySecret>)

  2. Retrieve through OAuth

    To obtain the Bearer token, follow the steps described in the Gong OAuth Guide.

    After obtaining the token, use the Bearer Authorization HTTP header (as per RFC) to access the Public API as shown below:
    Authorization: Bearer <token>

Limits

By default Gong limits your company's access to the service to 3 API calls per second, and 10,000 API calls per day.

When the rate of API calls exceeds these limits an HTTP status code 429 is returned and a Retry-After header indicates how many seconds to wait before making a new request.

If required, contact support to change these limits.

Cursors

Some API calls that return a list are limited in the amount of records they may return, so multiple API calls may be required to bring all records. Such an API call also returns a records field, which contains the number of records in the current page, the current page number and the total number of records.

In cases where the total number of records exceeds the number of records thus far retrieved, the records field will also contain a cursor field which can be used to access the next page of records. To retrieve the next page, repeat the API call with the cursor value as supplied by the previous API call. All other request inputs should remain the same.

Forward Compatibility

When coding a system to accept Gong data, take into account that Gong may, without prior warning, add fields to the JSON output. It is recommended to future proof your code so that it disregards all JSON fields you don't actually use.




Servers

Generated server url

 http://127.0.0.1:8089