Gong Component
Manage calls, users, and workspaces in the Gong revenue intelligence platform.
Component key: gong
Description
Gong is a revenue intelligence platform that captures customer interactions and delivers insights at scale, empowering sales teams to make data driven decisions and improve their performance.
This component allows you to interact with the Gong REST API to manage calls, users, workspaces, and engagement data.
API Documentation
This component was built using the Gong API Documentation
Connections
API Key
To generate a Gong API key manually:
- Log in to Gong and click Company Settings > Ecosystem > API.
- Click Create to generate an access key and the access key secret.
- Take note of the API Base URL that is displayed next to the access key and access key secret.
| Input | Notes | Example |
|---|---|---|
| Access Key | ||
| Access Key Secret | ||
| Base URL | https://us-0000.api.gong.io |
OAuth 2.0
To Create an OAuth app for Gong:
- In your company's Settings page, click API and click the Integrations tab.
- Click Create Integration.
- In the Integration details area, enter your integration name and a description.
- In the Required authorization scopes area, select the scopes that your app needs. You can check our API documentation to see which APIs use which scopes.
- Add Redirect URI as
https://oauth2.prismatic.io/callback - Click Save.
A new row appears in the table of apps, containing the Client ID and the Client Secret. Copy and paste these into the connection configuration of your workflow.
| Input | Notes | Example |
|---|---|---|
| Authorize URL | The OAuth 2.0 Authorization URL for Gong | https://app.gong.io/oauth2/authorize |
| API Key | Obtain this by creating an app at your Gong Dashboard | |
| API Secret | Obtain this by creating an app at your Gong Dashboard | |
| Scopes | A space-delimited set of one or more scopes to get the user's permission to access. A list of all scopes is available at https://app.gong.io/settings/api/documentation#overview | api:calls:create api:calls:read:basic |
| Token URL | The OAuth 2.0 Token URL for Gong | https://app.gong.io/oauth2/generate-customer-token |
Triggers
Process Automation Trigger
Trigger for handling process automations from Gong | key: webhook
| Input | Notes | Example |
|---|---|---|
| Automation Rules |
Data Sources
Select Call
Select a call from your Gong workspace | key: calls | type: picklist
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Workspace Id | Optional Workspace identifier, if supplied the API will return only the calls belonging to this workspace. | 1230788881967087399 |
{
"result": [
{
"label": "Title of the call",
"key": "3843152912968920037"
}
]
}
Select Folder
Select a folder from your Gong workspace | key: folders | type: picklist
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Workspace Id | Optional Workspace identifier, if supplied the API will return only the calls belonging to this workspace. | 1230788881967087399 |
{
"result": [
{
"label": "Sales Onboarding",
"key": "3843152912968920037"
}
]
}
Select User
Select a user from your Gong workspace | key: users | type: picklist
| Input | Notes | Example |
|---|---|---|
| Connection |
Select Workspace
Select a workspace from your Gong account | key: workspaces | type: picklist
| Input | Notes | Example |
|---|---|---|
| Connection |
{
"result": [
{
"label": "Sales Onboarding",
"key": "3843152912968920037"
}
]
}
Actions
Add Call Media
Adds a call media, recorded by a telephony system (PBX) or other media recording facility. | key: addMedia
| Input | Notes | Example |
|---|---|---|
| Call Id | callId returned from 'Add New Call' request | 1230788881967087399 |
| Connection | ||
| File | The media file of the recording. You may attach files up to 1.5GB in size. | Some binary file |
| File Name | The name of the file | some-file-name.txt |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"message": "Media file uploaded successfully"
}
}
Create New Call
When using this endpoint, either provide a downloadMediaUrl or use the returned callId in a follow-up request to /v2/calls/[id]/media to upload the media file. | key: createNewCall
| Input | Notes | Example |
|---|---|---|
| Actual Start | The actual date and time when the call started in the ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC) | 2018-02-18T02:30:00-07:00 |
| Call Provider Code | The code identifies the provider conferencing or telephony system. For example: zoom, clearslide, gotomeeting, ringcentral, outreach, insidesales, etc. These values are predefined by Gong, please contact help@gong.io to find the proper value for your system. | clearslide |
| Client Unique Id | A call's unique identifier in the PBX or the recording system. Gong uses this identifier to prevent repeated attempts to upload the same recording. | 1230788881967087399 |
| Connection | ||
| Context | A list of references to external systems such as CRM, Telephony System, Case Management, etc. | |
| Custom Data | Optional metadata associated with the call (represented as text). Gong stores this metadata and it can be used for troubleshooting. | Optional data |
| Direction | Whether the call is inbound (someone called the company), outbound (a rep dialed someone outside the company), or a conference call. | Inbound |
| Disposition | The disposition of the call. The disposition is free text of up to 255 characters. | No Answer |
| Download Media URL | The URL from which Gong can download the media file. The URL must be unique, the audio or video file must be a maximum of 1.5GB. If you provide this URL, you should not perform the 'Add call media' step. | https://upload-server.com/sample-call.mp3 |
| Duration | The actual call duration in seconds. | 125.8 |
| Language Code | The language code the call should be transcribed to. This field is optional as Gong automatically detects the language spoken in the call and transcribes it accordingly. Set this field only if you are sure of the language the call is in. Valid values are: af-ZA, am-ET, ar-AE, ar-BH, ar-DZ, ar-EG, ar-IL, ar-IQ, ar-JO, ar-KW, ar-LB, ar-MA, ar-MR, ar-OM, ar-PS, ar-QA, ar-SA, ar-TN, ar-YE, az-AZ, bg-BG, bn-BD, bn-IN, bs-BA, ca-ES, cs-CZ, da-DK, de-AT, de-CH, de-DE, el-GR, en-AB, en-AU, en-CA, en-GB, en-IE, en-IN, en-NZ, en-PH, en-SG, en-US, en-WL, en-ZA, es-AR, es-BO, es-CL, es-CO, es-CR, es-DO, es-EC, es-ES, es-GT, es-HN, es-MX, es-NI, es-PA, es-PE, es-PR, es-PY, es-SV, es-US, es-UY, et-EE, eu-ES, fa-IR, fi-FI, fil-PH, fr-BE, fr-CA, fr-CH, fr-FR, gl-ES, gu-IN, he-IL, hi-IN, hr-HR, hu-HU, hy-AM, id-ID, is-IS, it-CH, it-IT, ja-JP, jv-ID, ka-GE, kk-KZ, km-KH, kn-IN, ko-KR, lo-LA, lt-LT, lv-LV, mk-MK, ml-IN, mn-MN, mr-IN, ms-MY, my-MM, ne-NP, nl-BE, nl-NL, no-NO, pa-Guru-IN, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU, si-LK, sk-SK, sl-SI, sq-AL, sr-RS, su-ID, sv-SE, sw-KE, sw-TZ, ta-IN, ta-LK, ta-MY, ta-SG, te-IN, th-TH, tr-TR, uk-UA, ur-IN, ur-PK, uz-UZ, vi-VN, yue-Hant-HK, zh-CN, zh-TW, zu-ZA | en-US |
| Meeting URL | The URL of the conference call by which users join the meeting | https://www.conference.com/john.smith |
| Parties | A list of the call's participants. A party must be provided for the primaryUser. | |
| Primary User | The Gong internal user ID of the team member who hosted the call. | 234599484848423 |
| Purpose | The purpose of the call. This optional field is a free text of up to 255 characters. | Demo call |
| Scheduled End | The date and time the call was scheduled to end in the ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC) | 2018-02-18T02:30:00-07:00 |
| Scheduled Start | The date and time the call was scheduled to begin in the ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC) | 2018-02-18T02:30:00-07:00 |
| Speakers Timeline | The audio recording speech segments (who spoke when). Note that speakersTimeline and mediaChannelId are mutually exclusive, when providing speakersTimeline - mediaChannelId will not be used. | |
| Title | The title of the call. This title is available in the Gong system for indexing and search. | Example call |
| Workspace Id | Optional Workspace identifier, if supplied the API will return only the calls belonging to this workspace. | 1230788881967087399 |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"callId": "7782342274025937895",
"url": "https://app.gong.io/call?id=7782342274025937895"
}
}
Create New Gong Meeting
Creates a new Gong Meeting | key: createNewGongMeeting
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| End Time | The meeting end time in ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC). | 2018-02-18T02:30:00-07:00 |
| External ID | The ID as it is formed on the external system. | 7JEHFRGXDDZFEW2FC4U |
| Invitees | A list of email addresses of invitees to the event (not including the organizer). | |
| Organizer Email | The email address of the user creating the meeting, the Gong consent page link will be used according to the settings of this user. | test@test.com |
| Start Time | The meeting start time in ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC). | 2018-02-18T02:30:00-07:00 |
| Title | The title of the call. This title is available in the Gong system for indexing and search. | Example call |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"meetingId": "7782342274025937895",
"meetingUrl": "https://join.gong.io/my-company/jon.snow?tkn=MoNpS9tMNt8BK7EZxQpSJl",
"additionalInvitees": [
{
"displayName": "Gong Assistant",
"email": "assistant@gong.io"
}
]
}
}
Custom Action Event
Push engagement events into Gong and display them as events in Gong's activity timeline, when a content is engaged by an external participant (for example, a contract was 'signed' by the prospect) | key: customActionEvent
| Input | Notes | Example |
|---|---|---|
| Action Name | The name of the action like 'Document Viewed' or 'Presentation Opened'. | Document Viewed |
| Actor | ||
| Agent Platform | Platform on which the interaction was made | Windows |
| Connection | ||
| Content Id | The id of the content that was viewed in the reporting system. | 7782342223025937895 |
| Content Properties | ||
| Content Title | Human readable title of the content. | Features & Spec V.1 |
| Content Url | The url of the content that was viewed in the reporting system. This is the url that is was accessed by the viewer. | https://example.com/doc_123456789 |
| CRM Context | ||
| Event Id | The original id of the event as designated in the reporting system. | 7782342274025932395 |
| Event Info Url | The link to a page that presents additional information about this event. | https://example.com/path/to/a/page |
| Event Properties | ||
| Event Timestamp | The date and time when the event happened in the ISO-8601 format (e.g., '2021-08-01T02:30:00+05:00' or '2021-08-01T08:00:00Z', where Z stands for UTC); | 2018-02-18T02:30:00-07:00 |
| Mobile App Id | The application identification string in case of interaction via mobile application (bundle identifier or package name). | com.example.app |
| More Info Url | https://example.com/path/to/a/page | |
| Non Company Participants | ||
| Reporting System | The unique identifier of the reporting system. It is the same value in all events originating from the same system. | abc123 |
| Share Id | 7782342223025937895 | |
| Sharer | ||
| Sharing Message Body | The share message body. Can contain HTML and will be cleaned when it is presented. | Check out this document |
| Sharing Message Subject | The subject of share email / message. | Check out this document |
| User Agent | 'User-Agent' header value for browser based interaction | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 |
| Workspace Id | Optional Workspace identifier, if supplied the API will return only the calls belonging to this workspace. | 1230788881967087399 |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"integrationId": 55170271882342
}
}
Custom Shared Event
Push engagement events into Gong and display them as events in Gong’s activity timeline, when a Gong user shares content with external participants (for example, a contract was “shared” by the account executive with his prospects) | key: customSharedEvent
| Input | Notes | Example |
|---|---|---|
| Action Name | The name of the action like 'Document Viewed' or 'Presentation Opened'. | Document Viewed |
| Agent Platform | Platform on which the interaction was made | Windows |
| Connection | ||
| Content Id | The id of the content that was shared in the reporting system. | 7782342223025937895 |
| Content Properties | ||
| Content Title | Human readable title of the content. | Features & Spec V.1 |
| Content Url | The url of the content that was shared in the reporting system. This is the url that is was accessed by the viewer. | https://example.com/doc_123456789 |
| CRM Context | ||
| Event Id | The original id of the event as designated in the reporting system. | 7782342274025932395 |
| Event Properties | ||
| Event Timestamp | The date and time when the event happened in the ISO-8601 format (e.g., '2021-08-01T02:30:00+05:00' or '2021-08-01T08:00:00Z', where Z stands for UTC); | 2018-02-18T02:30:00-07:00 |
| Mobile App Id | The application identification string in case of interaction via mobile application (bundle identifier or package name). | com.example.app |
| More Info Url | https://example.com/path/to/a/page | |
| Non Company Participants | ||
| Recipients | ||
| Reporting System | The unique identifier of the reporting system. It is the same value in all events originating from the same system. | abc123 |
| Share Id | 7782342223025937895 | |
| Share Info Url | The link to a page that presents additional information about this event. | https://example.com/path/to/a/page |
| Sharer | ||
| Sharing Message Body | The share message body. Can contain HTML and will be cleaned when it is presented. | Check out this document |
| Sharing Message Subject | The subject of share email / message. | Check out this document |
| User Agent | 'User-Agent' header value for browser based interaction | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 |
| Workspace Id | Optional Workspace identifier, if supplied the API will return only the calls belonging to this workspace. | 1230788881967087399 |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"integrationId": 55170271882342
}
}
Custom Viewed Event
Push engagement events into Gong and display them as events in Gong's activity timeline, when a Gong user shares content with external participants (for example, a contract was “shared” by the account executive with his prospects) | key: customViewedEvent
| Input | Notes | Example |
|---|---|---|
| Action Name | The name of the action like 'Document Viewed' or 'Presentation Opened'. | Document Viewed |
| Agent Platform | Platform on which the interaction was made | Windows |
| Connection | ||
| Content Id | The id of the content that was shared in the reporting system. | 7782342223025937895 |
| Content Properties | ||
| Content Title | Human readable title of the content. | Features & Spec V.1 |
| Content Url | The url of the content that was shared in the reporting system. This is the url that is was accessed by the viewer. | https://example.com/doc_123456789 |
| CRM Context | ||
| Event Id | The original id of the event as designated in the reporting system. | 7782342274025932395 |
| Event Properties | ||
| Event Timestamp | The date and time when the event happened in the ISO-8601 format (e.g., '2021-08-01T02:30:00+05:00' or '2021-08-01T08:00:00Z', where Z stands for UTC); | 2018-02-18T02:30:00-07:00 |
| Mobile App Id | The application identification string in case of interaction via mobile application (bundle identifier or package name). | com.example.app |
| More Info Url | https://example.com/path/to/a/page | |
| Non Company Participants | ||
| Reporting System | The unique identifier of the reporting system. It is the same value in all events originating from the same system. | abc123 |
| Share Id | 7782342223025937895 | |
| Sharer | ||
| Sharing Message Body | The share message body. Can contain HTML and will be cleaned when it is presented. | Check out this document |
| Sharing Message Subject | The subject of share email / message. | Check out this document |
| User Agent | 'User-Agent' header value for browser based interaction | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 |
| View Action Title | The name of the action like 'Document Viewed' or 'Presentation Opened'. | Document Viewed |
| Viewer | ||
| View Info URL | The link to a page that presents additional information about this event. | https://example.com/path/to/a/page |
| Workspace Id | Optional Workspace identifier, if supplied the API will return only the calls belonging to this workspace. | 1230788881967087399 |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"integrationId": 55170271882342
}
}
Delete Email Address and Associated Elements
Given an email address, this endpoint deletes from the Gong system any calls or email messages that reference this address. | key: deleteEmailAddressAndAssociatedElements
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Email Address | The email address. | test@test.com |
{
"data": {
"requestId": "4al018gzaztcr8nbukw"
}
}
Delete Gong Meeting
Deletes an existing Gong Meeting | key: deleteMeeting
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Meeting ID | Gong's unique identifier for the meeting (up to 20 digits). | 7782342274025937895 |
{
"data": {
"organizerEmail": "test@test.com"
}
}
Delete Phone Number and Associated Elements
Given a phone number, this endpoint deletes from the Gong system any leads or contacts with a matching phone number or mobile phone number. | key: deletePhoneNumberAndAssociatedElements
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Phone Number | The phone number. This number must start with a + (plus) sign followed by the country code, area code, and local phone number. All other non-digits are ignored. The following are examples of permitted phone numbers: +1 425 555 2671, +1-425-555-2671, +1 425 5552671, +14255552671, +1 425 555 26 71, +1(425) 555-2671, etc. | +1 425 555 2671 |
{
"data": {
"requestId": "4al018gzaztcr8nbukw"
}
}
Get Call
Retrieve data for a specific call (/v2/calls/[id]) | key: getCallUsingGet
| Input | Notes | Example |
|---|---|---|
| Call Id | Gong's unique numeric identifier for the call (up to 20 digits) | 1230788881967087399 |
| Connection |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"call": {
"id": "7782342274025937895",
"url": "https://app.gong.io/call?id=7782342274025937895",
"title": "Example call",
"scheduled": 1518863400,
"started": 1518863400,
"duration": 460,
"primaryUserId": "234599484848423",
"direction": "Inbound",
"system": "Outreach",
"scope": "Internal",
"media": "Video",
"language": "eng",
"workspaceId": "623457276584334",
"sdrDisposition": "Got the gatekeeper",
"clientUniqueId": "7JEHFRGXDDZFEW2FC4U",
"customData": "Conference Call",
"purpose": "Demo Call",
"meetingUrl": "https://zoom.us/j/123",
"isPrivate": false,
"calendarEventId": "abcde@google.com"
}
}
}
Get Call Transcript
Returns transcripts for calls that took place during the specified date period. | key: getCallTranscript
| Input | Notes | Example |
|---|---|---|
| Call Ids | List of calls Ids to be filtered. If not supplied, returns all calls between fromDateTime and toDateTime. | 7782342274025937895 |
| Connection | ||
| Cursor | When paging is needed, provide the value supplied by the previous API call to bring the following page of records. | eyJhbGciOiJIUzI1NiJ9.eyJjYWxsSWQiM1M30.6qKwpOcvnuweTZmFRzYdtjs_YwJphJU4QIwWFM |
| From Date Time | Date and time (in ISO-8601 format: '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC) from which to list recorded calls. Returns calls that started on or after the specified date and time. If not provided, list starts with earliest call. For web-conference calls recorded by Gong, the date denotes its scheduled time, otherwise, it denotes its actual start time. | 2018-02-18T02:30:00-07:00 |
| To Date Time | Date and time (in ISO-8601 format: '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC) until which to list recorded calls. Returns calls that started up to but excluding specified date and time. If not provided, list ends with most recent call. For web-conference calls recorded by Gong, the date denotes its scheduled time, otherwise, it denotes its actual start time. | 2018-02-18T02:30:00-07:00 |
| Workspace Id | Optional Workspace identifier, if supplied the API will return only the calls belonging to this workspace. | 1230788881967087399 |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"records": {
"totalRecords": 263,
"currentPageSize": 100,
"currentPageNumber": 0,
"cursor": "eyJhbGciOiJIUzI1NiJ9.eyJjYWxsSWQiM1M30.6qKwpOcvnuweTZmFRzYdtjs_YwJphJU4QIwWFM"
},
"callTranscripts": [
{
"callId": "7782342274025937895",
"transcript": [
{
"speakerId": "6432345678555530067",
"topic": "Objections",
"sentences": [
{
"start": 460230,
"end": 462343,
"text": "No wait, I think we should check that out first."
}
]
}
]
}
]
}
}
Get Logs Data by Type and Time Range
List log entries that took place during a specified time range. | key: getLogsDataByTypeAndTimeRange
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Cursor | When paging is needed, provide the value supplied by the previous API call to bring the following page of records. | eyJhbGciOiJIUzI1NiJ9.eyJjYWxsSWQiM1M30.6qKwpOcvnuweTZmFRzYdtjs_YwJphJU4QIwWFM |
| From Date Time | Date and time (in ISO-8601 format: '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC) from which to list recorded calls. Returns calls that started on or after the specified date and time. If not provided, list starts with earliest call. For web-conference calls recorded by Gong, the date denotes its scheduled time, otherwise, it denotes its actual start time. | 2018-02-18T02:30:00-07:00 |
| Log Type | Type of logs requested. | |
| To Date Time | The time until which to retrieve log records, in the ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC); if not specified, the logs end with the latest recorded log. | 2018-02-18T02:30:00-07:00 |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"records": {
"totalRecords": 263,
"currentPageSize": 100,
"currentPageNumber": 0,
"cursor": "eyJhbGciOiJIUzI1NiJ9.eyJjYWxsSWQiM1M30.6qKwpOcvnuweTZmFRzYdtjs_YwJphJU4QIwWFM"
},
"logEntries": [
{
"userId": "234599484848423",
"userEmailAddress": "test@test.com",
"userFullName": "Jon Snow",
"impersonatorUserId": "234599484848423",
"impersonatorEmailAddress": "test@test.com",
"impersonatorFullName": "Jon Snow",
"impersonatorCompanyId": "234599484848423",
"eventTime": "2018-02-17T02:30:00-08:00",
"logRecord": {}
}
]
}
}
Get User
Retrieve a specific user. | key: getUser
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| User Id | Gong's unique numeric identifier for the user (up to 20 digits). | 1230788881967087399 |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"user": {
"id": "234599484848423",
"emailAddress": "test@test.com",
"created": "2018-02-17T02:30:00-08:00",
"active": true,
"emailAliases": [
"testAlias@test.com"
],
"trustedEmailAddress": "test@test.com",
"firstName": "Jon",
"lastName": "Snow",
"title": "Enterprise Account Executive",
"phoneNumber": "+1 123-567-8989",
"extension": "123",
"personalMeetingUrls": [
"https://zoom.us/j/123"
],
"settings": {
"webConferencesRecorded": true,
"preventWebConferenceRecording": false,
"telephonyCallsImported": false,
"emailsImported": true,
"preventEmailImport": false,
"nonRecordedMeetingsImported": true,
"gongConnectEnabled": true
},
"managerId": "563515258458745",
"meetingConsentPageUrl": "https://join.gong.io/my-company/jon.snow?tkn=MoNpS9tMNt8BK7EZxQpSJl",
"spokenLanguages": [
{
"language": "es-ES",
"primary": true
}
]
}
}
}
List Calls
Retrieve call data by date range (/v2/calls) | key: listCallsUsingGet
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Cursor | When paging is needed, provide the value supplied by the previous API call to bring the following page of records. | eyJhbGciOiJIUzI1NiJ9.eyJjYWxsSWQiM1M30.6qKwpOcvnuweTZmFRzYdtjs_YwJphJU4QIwWFM |
| From Date Time | Date and time (in ISO-8601 format: '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC) from which to list recorded calls. Returns calls that started on or after the specified date and time. If not provided, list starts with earliest call. For web-conference calls recorded by Gong, the date denotes its scheduled time, otherwise, it denotes its actual start time. | 2018-02-18T02:30:00-07:00 |
| To Date Time | Date and time (in ISO-8601 format: '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC) until which to list recorded calls. Returns calls that started up to but excluding specified date and time. If not provided, list ends with most recent call. For web-conference calls recorded by Gong, the date denotes its scheduled time, otherwise, it denotes its actual start time. | 2018-02-18T02:30:00-07:00 |
| Workspace Id | Optional Workspace identifier, if supplied the API will return only the calls belonging to this workspace. | 1230788881967087399 |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"records": {
"totalRecords": 263,
"currentPageSize": 100,
"currentPageNumber": 0,
"cursor": "eyJhbGciOiJIUzI1NiJ9.eyJjYWxsSWQiM1M30.6qKwpOcvnuweTZmFRzYdtjs_YwJphJU4QIwWFM"
},
"calls": [
{
"id": "7782342274025937895",
"url": "https://app.gong.io/call?id=7782342274025937895",
"title": "Example call",
"scheduled": 1518863400,
"started": 1518863400,
"duration": 460,
"primaryUserId": "234599484848423",
"direction": "Inbound",
"system": "Outreach",
"scope": "Internal",
"media": "Video",
"language": "eng",
"workspaceId": "623457276584334",
"sdrDisposition": "Got the gatekeeper",
"clientUniqueId": "7JEHFRGXDDZFEW2FC4U",
"customData": "Conference Call",
"purpose": "Demo Call",
"meetingUrl": "https://zoom.us/j/123",
"isPrivate": false,
"calendarEventId": "abcde@google.com"
}
]
}
}
List Calls in Folder
Given a folder id, this endpoint retrieves a list of calls in it. | key: listCallsInFolder
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Folder Id | Gong's unique numeric identifier for the folder (up to 20 digits). | 1230788881967087399 |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"id": "3843152912968920037",
"name": "Sales Onboarding",
"createdBy": "234599484848423",
"updated": 1584192600,
"calls": [
{
"id": "7782342274025937895",
"title": "Example call",
"note": "sample note",
"addedBy": "234599484848423",
"created": 1578868200,
"url": "https://app.gong.io/call?id=3636865806219496180&highlights=%5B%7B%22to%22%3A+3240%2C+%22from%22%3A+1200%2C+%22type%22%3A+%22LIBRARY%22%7D%5D",
"snippet": {
"fromSec": 21,
"toSec": 132
}
}
]
}
}
List Library Folders
Use this endpoint to retrieve a list of public library folders. | key: listLibraryFolders
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Workspace Id | Optional Workspace identifier, if supplied the API will return only the calls belonging to this workspace. | 1230788881967087399 |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"folders": [
{
"id": "3843152912968920037",
"name": "Sales Onboarding",
"parentFolderId": "295738305212375930",
"createdBy": "234599484848423",
"updated": 1584192600
}
]
}
}
List References to a Phone Number
Shows the elements in the Gong system that reference the given phone number. | key: listReferencesToAPhoneNumber
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Phone Number | The phone number. This number must start with a + (plus) sign followed by the country code, area code, and local phone number. All other non-digits are ignored. The following are examples of permitted phone numbers: +1 425 555 2671, +1-425-555-2671, +1 425 5552671, +14255552671, +1 425 555 26 71, +1(425) 555-2671, etc. | +1 425 555 2671 |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"emails": [
{
"from": "test@test.com",
"id": "223mjfaaqqjuegabiyrmpctvcwwl75oz",
"sentTime": "2019-01-20T00:00:00-08:00",
"mailbox": "test@test.com",
"messageHash": "l3z7w2s7oircdabnkwizmycm6g2uwznc"
}
],
"calls": [
{
"id": "7782342274025937895",
"status": "COMPLETED",
"externalSystems": [
{
"system": "Salesforce",
"objects": [
{
"objectType": "Task",
"externalId": "0013601230sV7grAAC"
}
]
}
]
}
],
"meetings": [
{
"id": "8059707022269524529.sb5gr1tgpt5dd799eh035rb3dk@google.com_2022-06-30T13:00:00Z"
}
],
"customerData": [
{
"system": "Salesforce",
"objects": [
{
"id": "7782342274025937895",
"objectType": "Contact",
"externalId": "0013601230sV7grAAC",
"mirrorId": "\"{\\\"integrationId\\\":\\\"262834820328732\\\",\\\"crmObjectType\\\":\\\"CONTACT\\\",\\\"crmId\\\":\\\"0031Q00002DFhi4QAD\\\"}\"",
"fields": [
{
"name": "name",
"value": "Gong Inc."
}
]
}
]
}
],
"customerEngagement": [
{
"eventType": "ExternalCallViewing",
"timestamp": 1547971200,
"contentId": "7782342274025937895",
"contentUrl": "https://app.gong.io/e/c-share/tkn=5vjaxkqnzmp515b220vlzto2i",
"reportingSystem": "https://app.gong.io/e/c-share/tkn=5vjaxkqnzmp515b220vlzto2i",
"eventName": "https://app.gong.io/e/c-share/tkn=5vjaxkqnzmp515b220vlzto2i",
"sourceEventId": "https://app.gong.io/e/c-share/tkn=5vjaxkqnzmp515b220vlzto2i"
}
]
}
}
List References to an Email Address
Shows the elements in the Gong system that reference the given email address. | key: listReferencesToAnEmailAddress
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Email Address | The email address. | test@test.com |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"emails": [
{
"from": "test@test.com",
"id": "223mjfaaqqjuegabiyrmpctvcwwl75oz",
"sentTime": "2019-01-20T00:00:00-08:00",
"mailbox": "test@test.com",
"messageHash": "l3z7w2s7oircdabnkwizmycm6g2uwznc"
}
],
"calls": [
{
"id": "7782342274025937895",
"status": "COMPLETED",
"externalSystems": [
{
"system": "Salesforce",
"objects": [
{
"objectType": "Task",
"externalId": "0013601230sV7grAAC"
}
]
}
]
}
],
"meetings": [
{
"id": "8059707022269524529.sb5gr1tgpt5dd799eh035rb3dk@google.com_2022-06-30T13:00:00Z"
}
],
"customerData": [
{
"system": "Salesforce",
"objects": [
{
"id": "7782342274025937895",
"objectType": "Contact",
"externalId": "0013601230sV7grAAC",
"mirrorId": "\"{\\\"integrationId\\\":\\\"262834820328732\\\",\\\"crmObjectType\\\":\\\"CONTACT\\\",\\\"crmId\\\":\\\"0031Q00002DFhi4QAD\\\"}\"",
"fields": [
{
"name": "name",
"value": "Gong Inc."
}
]
}
]
}
],
"customerEngagement": [
{
"eventType": "ExternalCallViewing",
"timestamp": 1547971200,
"contentId": "7782342274025937895",
"contentUrl": "https://app.gong.io/e/c-share/tkn=5vjaxkqnzmp515b220vlzto2i",
"reportingSystem": "https://app.gong.io/e/c-share/tkn=5vjaxkqnzmp515b220vlzto2i",
"eventName": "https://app.gong.io/e/c-share/tkn=5vjaxkqnzmp515b220vlzto2i",
"sourceEventId": "https://app.gong.io/e/c-share/tkn=5vjaxkqnzmp515b220vlzto2i"
}
]
}
}
List Users
List all of the company's users. | key: listUsers
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Cursor | When paging is needed, provide the value supplied by the previous API call to bring the following page of records. | eyJhbGciOiJIUzI1NiJ9.eyJjYWxsSWQiM1M30.6qKwpOcvnuweTZmFRzYdtjs_YwJphJU4QIwWFM |
| Include Avatars | Avatars are synthetic users representing Gong employees (CSMs and support providers) when they access your instance. References to avatars' IDs may be found in the outputs of other API endpoints. This parameter is optional, if not provided avatars will not be included in the results. | false |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"records": {
"totalRecords": 263,
"currentPageSize": 100,
"currentPageNumber": 0,
"cursor": "eyJhbGciOiJIUzI1NiJ9.eyJjYWxsSWQiM1M30.6qKwpOcvnuweTZmFRzYdtjs_YwJphJU4QIwWFM"
},
"users": [
{
"id": "234599484848423",
"emailAddress": "test@test.com",
"created": "2018-02-17T02:30:00-08:00",
"active": true,
"emailAliases": [
"testAlias@test.com"
],
"trustedEmailAddress": "test@test.com",
"firstName": "Jon",
"lastName": "Snow",
"title": "Enterprise Account Executive",
"phoneNumber": "+1 123-567-8989",
"extension": "123",
"personalMeetingUrls": [
"https://zoom.us/j/123"
],
"settings": {
"webConferencesRecorded": true,
"preventWebConferenceRecording": false,
"telephonyCallsImported": false,
"emailsImported": true,
"preventEmailImport": false,
"nonRecordedMeetingsImported": true,
"gongConnectEnabled": true
},
"managerId": "563515258458745",
"meetingConsentPageUrl": "https://join.gong.io/my-company/jon.snow?tkn=MoNpS9tMNt8BK7EZxQpSJl",
"spokenLanguages": [
{
"language": "es-ES",
"primary": true
}
]
}
]
}
}
List Workspaces
Returns a list of all workspaces including their details. | key: listWorkspaces
| Input | Notes | Example |
|---|---|---|
| Connection |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"workspaces": [
{
"id": "623457276584334",
"name": "Some Workspace",
"description": "This is one of our workspaces"
}
]
}
}
Raw Request
Send raw HTTP request to Gong | key: rawRequest
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| Data | The HTTP body payload to send to the URL. | {"exampleKey": "Example Data"} |
| File Data | File Data to be sent as a multipart form upload. | [{key: "example.txt", value: "My File Contents"}] |
| File Data File Names | File names to apply to the file data inputs. Keys must match the file data keys above. | |
| Form Data | The Form Data to be sent as a multipart form upload. | [{"key": "Example Key", "value": new Buffer("Hello World")}] |
| Header | A list of headers to send with the request. | User-Agent: curl/7.64.1 |
| Max Retry Count | The maximum number of retries to attempt. Specify 0 for no retries. | 0 |
| Method | The HTTP method to use. | |
| Query Parameter | A list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2. | |
| Response Type | The type of data you expect in the response. You can request json, text, or binary data. | json |
| Retry On All Errors | If true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors. | false |
| Retry Delay (ms) | The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled. | 0 |
| Timeout | The maximum time that a client will await a response to its request | 2000 |
| URL | This is the URL to call. | Input the path only (/v2/users), The base URL is already included (https://us-6852.app.gong.io/). For example, to connect to https://us-6852.app.gong.io/v2/users, only /v2/users is entered in this field. |
| Use Exponential Backoff | Specifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored. | false |
Update Gong Meeting
Updates an existing Gong Meeting | key: updateGongMeeting
| Input | Notes | Example |
|---|---|---|
| Connection | ||
| End Time | The meeting end time in ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC). | 2018-02-18T02:30:00-07:00 |
| External ID | The ID as it is formed on the external system. | 7JEHFRGXDDZFEW2FC4U |
| Invitees | A list of email addresses of invitees to the event (not including the organizer). | |
| Meeting ID | Gong's unique identifier for the meeting (up to 20 digits). | 7782342274025937895 |
| Organizer Email | The email address of the user creating the meeting, the Gong consent page link will be used according to the settings of this user. | test@test.com |
| Start Time | The meeting start time in ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC). | 2018-02-18T02:30:00-07:00 |
| Title | The title of the call. This title is available in the Gong system for indexing and search. | Example call |
{
"data": {
"requestId": "4al018gzaztcr8nbukw",
"meetingId": "7782342274025937895",
"meetingUrl": "https://join.gong.io/my-company/jon.snow?tkn=MoNpS9tMNt8BK7EZxQpSJl",
"additionalInvitees": [
{
"displayName": "Gong Assistant",
"email": "assistant@gong.io"
}
]
}
}
Changelog
2025-09-03
- Added data sources and inline data sources for Folders, Workspaces, Users, and Calls.