> ## 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. # List calls with full data > Returns the call metadata and, optionally, participants, CRM objects, content such as trackers and topics, interaction statistics, comments and media URLs for each call. To choose the calls, use the `filter` object in the request body: filter by date range, call IDs or call owners. To get the optional data, set it in the `contentSelector` object. If you leave out `contentSelector`, the response includes the metadata only. The response lists calls that have a recording, whether Gong recorded or imported them or they were added through the API. Meetings that weren't recorded aren't listed, even if they appear in Gong. Send the IDs of several calls in one request, in `filter.callIds`. Each request counts toward the company's daily rate limit, and requesting one call at a time reaches it quickly. Each response contains up to 100 calls. When the `trackerOccurrences` or `trackerEvidence` option in `contentSelector.exposedFields.content` is true, each response contains up to 50 calls. When both are true, it contains up to 25. If there are more, the response includes `records.cursor`. To get the next page, send it as `cursor` in your next request. Participants who were invited but didn't join aren't matched to CRM contacts or leads. The response includes their email address, but their name and CRM details can be missing. Media URLs are temporary download links to the call's audio and video files. They expire 8 hours after the response is returned. To get new URLs, request the call again. If a call was recorded without audio, the response can still include `audioUrl`, but downloading it returns 403. Required authorization scope: 'api:calls:read:extensive'. Required authorization scope to return media URLs (`contentSelector.exposedFields.media`): 'api:calls:read:media-url'. ## OpenAPI ````json POST /v2/calls/extensive { "openapi": "3.0.1", "info": { "title": "Gong API", "description": "

Overview

\n

\nThe Gong API allows you to:\n

\n
    \n
  1. \nReceive the following information from Gong:\n
      \n
    1. \nYour company's calls in Gong\n
    2. \n
    3. \nYour company's users in Gong\n
    4. \n
    5. \nYour company's user stats in Gong\n
    6. \n
    7. \nYour company's user settings in Gong\n
    8. \n
    9. \nYour company's libraries in Gong\n
    10. \n
  2. \n
  3. \nUpload new or \nupdate \ncall recordings in Gong, in order to support cases where you have an internal system that records \ncalls or obtains them from a third-party entity.\n
  4. \n
  5. \nData Privacy: \nDelete users and all their associated elements.
  6. \n
  7. \nUpload CRM data into Gong. \n
  8. \n
\n

Check here what's your base URL for all API calls.\n

\n

Authentication

\n\n

\nThere are two ways to retrieve credentials to the Gong Public API:\n

\n
  1. Retrieve Manually:
    \n

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

    \n

    \nUse the Basic Authorization HTTP header (as per RFC)\nto access the Public API as shown below:
    \nAuthorization: Basic <token>
    \n

    \n

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

    \n

  2. \n
  3. Retrieve through OAuth
    \n

    \nTo obtain the Bearer token, follow the steps described in the Gong OAuth Guide.\n

    \n

    \nAfter obtaining the token, use the Bearer Authorization HTTP header\n(as per RFC)\nto access the Public API as shown below:
    \nAuthorization: Bearer <token>\n

    \n
\n

Scopes

\n\n

\nA scope is a permission that lets an integration use a set of endpoints, for example api:calls:read:basic to read calls or api:calls:create to add them. Each endpoint's description ends with the scope it requires.\n

\n

\nYou choose an integration's scopes when you set it up in Gong. In the Admin center, go to the Settings tab, click API under Ecosystem, and open the Integrations tab. If the integration calls an endpoint it doesn't have the scope for, the request is rejected with the message \"You don't have permission to use '<scope>' in your app.\"\n

\n

\nOne exception: if an integration calls POST /v2/calls/extensive without api:calls:read:media-url, the request succeeds but the media URLs are left out.\n

\n

\nScopes apply to integrations that use OAuth (a Bearer token). API keys aren't limited by scope.\n

\n\n

Limits

\n\n

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

\n

\nIf required, contact help.gong.io to change these limits.\n

\n\n

Cursors

\n\n

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

\n

\nIn cases where the total number of records exceeds the number of records thus far retrieved, the records field will also\n 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\n the cursor value as supplied by the previous API call. All other request inputs should remain the same.\n

\n

Forward Compatibility

\n\n

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

", "version": "V2" }, "servers": [ { "url": "https://127.0.0.1:8443", "description": "Generated server url" } ], "tags": [ { "name": "Calls", "description": "The Calls endpoints return your company's recorded calls and their data: details such as the title and time, participants, content, transcripts and media. They also let you add calls recorded in other systems.\n\n**Where to go in Gong:** Conversations > Search. Learn more about [call search in Gong](https://help.gong.io/docs/about-call-search-in-gong).\n\nUse them to:\n\n- Copy calls into your own systems, such as a data warehouse or CRM.\n- Analyze what was said: transcripts, topics, trackers and interaction statistics.\n- Add calls recorded by a telephony system or dialer, with their recordings, so Gong analyzes them.\n\nWhich endpoint to use:\n\n- To list the calls in a date range, with each call's title, start time, duration and call owner: `GET /v2/calls`\n- To get the same details for one call: `GET /v2/calls/{id}`\n- To get participants, CRM objects, content, interaction statistics, comments or media URLs: `POST /v2/calls/extensive`\n- To get transcripts: `POST /v2/calls/transcript`\n- To add a call: `POST /v2/calls`\n- To add a call's recording: send `downloadMediaUrl` in `POST /v2/calls`, or upload the file afterwards with `PUT /v2/calls/{id}/media`\n\nGood to know:\n\n- **Which calls are returned:** calls with a recording, whether Gong recorded or imported them or they were added through the API. Meetings that weren't recorded aren't returned.\n- **Speaker names:** transcripts identify each speaker by `speakerId`, not by name. To get names, get the call's participants from `POST /v2/calls/extensive` and match `speakerId`.\n- **Call IDs:** requesting one call at a time uses up your company's daily rate limit quickly. Define filters to return all the calls you need, or send several call IDs in each request.\n- **Paging:** each response contains up to 100 calls. If there are more, the response includes `records.cursor`. To get the next 100, send it as `cursor` in your next request.\n\nCall owner and host:\n\nEach call has one owner, a Gong user from your company. In the API, the call owner is the primary user:\n\n- `primaryUserId` in the response is the call owner.\n- Use `filter.primaryUserIds` in `POST /v2/calls/extensive` to get the calls a user owns.\n- Use `primaryUser` in `POST /v2/calls` to set the owner of a call you add. Send the Gong user ID of the user who ran the call.\n- Interaction statistics, such as talk ratio and patience, are the call owner's.\n\nThe owner isn't always the meeting's host. Gong makes the host the owner when the host is a Gong user whose calls Gong records. If someone changes the owner manually in Gong, Gong keeps that change. If the host is from outside the company, the owner is a different Gong user.\n\nGong imports a telephony call only when a participant is a Gong user whose telephony system calls are set to import. That user is the owner. Other telephony calls aren't in Gong, so the API doesn't return them.\n\nRequired authorization scopes for the Calls endpoints:\n\n- 'api:calls:read:basic': `GET /v2/calls` and `GET /v2/calls/{id}`\n- 'api:calls:read:extensive': `POST /v2/calls/extensive`\n- 'api:calls:read:media-url': media URLs in `POST /v2/calls/extensive`\n- 'api:calls:read:transcript': `POST /v2/calls/transcript`\n- 'api:calls:create': `POST /v2/calls` and `PUT /v2/calls/{id}/media`" }, { "name": "Users", "description": "The Users endpoints return your company's Gong users: who they are, what Gong records and imports for them, and how their settings have changed.\n\n**Where to go in Gong:** Admin center > Settings > People > Team members. Learn more about [managing team members](https://help.gong.io/docs/add-or-edit-a-team-member).\n\nUse them to:\n\n- Match people in your own systems to Gong users by email address, to get the Gong user ID that other endpoints use.\n- Check what Gong records and imports for a user (`settings`).\n- Audit changes to a user's recording, email import and active status (settings history).\n- Get a user's recording consent page and web conferencing providers, for scheduling tools.\n\nWhich endpoint to use:\n\n- To list all users: `GET /v2/users`\n- To get users by Gong user ID, or users created in a time range: `POST /v2/users/extensive`\n- To get one user: `GET /v2/users/{id}`\n- To get the changes to one user's settings: `GET /v2/users/{id}/settings-history`\n\nGood to know:\n\n- **Inactive users:** results include inactive users. To tell them apart, check `active`.\n- **Avatars:** avatars are users that represent Gong employees, such as support staff, when they log in to your company's Gong account. Results don't include them by default. To include them, set `includeAvatars` to true. The response doesn't mark which users are avatars.\n- **Email addresses:** a user can have more than one. To find a user by email address, list the users with `GET /v2/users` and look for the address in each user's `emailAddress` and `emailAliases`.\n- **User IDs:** requesting one user at a time with `GET /v2/users/{id}` uses up your company's daily rate limit quickly. To get several users, send their IDs in `filter.userIds` of `POST /v2/users/extensive`.\n- **Paging:** each response contains up to 100 users. If there are more, the response includes `records.cursor`. To get the next 100, send it as `cursor` in your next request.\n\nRequired authorization scope for all Users endpoints: 'api:users:read'." }, { "name": "Stats", "description": "

Gong?s ?Stats? API endpoints allow you to:

\n\n

The requested user activity may contain the following details:

\n\n" }, { "name": "Entities", "description": "

Gong's ?Entity? endpoints allow you to:

\n\nThe response includes the generated answer or brief and the calls and emails used to generate it. It also includes information about the specific parts of those calls or emails that provided the evidence for the AI-generated content." }, { "name": "Settings", "description": "

Gong?s ?Settings? API endpoints allow you to:

\n\n" }, { "name": "Data Privacy", "description": "

Gong?s ?Data Privacy? API endpoints allow you to:

\n\n" }, { "name": "Library", "description": "

Gong?s ?Library? API endpoints allow you to:

\n\n" }, { "name": "CRM", "description": "The CRM endpoints let you send data from a CRM that Gong doesn't integrate with natively, so Gong can show it with calls, emails and deals.\n\n**Where to go in Gong:** Admin center > Settings > CRM. Learn more about [managing your CRM API integration](https://help.gong.io/docs/manage-your-crm-api-integration).\n\nUse them to:\n\n- Show your deals on deal boards and in forecasts.\n- Associate calls and emails with your accounts, contacts, leads and deals.\n- Add your own CRM fields to the objects Gong shows.\n\nWhich endpoint to use:\n\n- To register the integration and get its `integrationId`: `PUT /v2/crm/integrations`\n- To get the integration's ID, name and owner's email address: `GET /v2/crm/integrations`\n- To add, change or delete custom fields: `POST /v2/crm/entity-schema`\n- To list the fields of an object type: `GET /v2/crm/entity-schema`\n- To upload accounts, contacts, deals, leads, business users or stages: `POST /v2/crm/entities`\n- To check whether an upload or a deletion has finished: `GET /v2/crm/request-status`\n- To check how Gong stored some objects, while you build the integration: `GET /v2/crm/entities`\n- To delete the integration and the CRM objects uploaded through it: `DELETE /v2/crm/integrations`\n\nGood to know:\n\n- **API integrations only:** the endpoints work with a CRM integration registered with `PUT /v2/crm/integrations`. Gong has native integrations with Salesforce, HubSpot and Microsoft Dynamics 365. If the company uses one of them, there's no integration to return, and you can't register one.\n- **One integration:** a company can have one CRM integration at a time. To connect a different CRM, disconnect the current one first: a native integration in Gong, an API integration with `DELETE /v2/crm/integrations`.\n- **Integration ID:** every endpoint except `GET` and `PUT /v2/crm/integrations` takes `integrationId`. It's a 64-bit number. Read and store it as a 64-bit integer (long or BigInt) or as a string. Tools that read it as a regular number, such as JavaScript, round it, and a rounded ID fails with 400 \"This integration id is inactive\".\n- **Asynchronous requests:** `POST /v2/crm/entities` and `DELETE /v2/crm/integrations` return before Gong processes them. Send a new `clientRequestId` with each request, then call `GET /v2/crm/request-status` with it. Continue polling until `status` is `DONE` or `FAILED`.\n- **When data appears:** `DONE` means Gong read every object in the file. Gong then adds the objects to its CRM data, which can take a while. A contact is added only when Gong associates it with a call or email.\n- **Accounts:** upload your accounts. Gong uses them to associate calls and emails, and a deal without an account doesn't appear in Gong.\n- **Object links:** a contact belongs to one account. A deal belongs to one account and has an owner, a business user whose email address matches a Gong user's. A converted lead points to the account, contact or deal it became.\n- **First upload and updates:** the first time, upload every object that should appear in Gong. After that, send only new and changed objects. You can send updates as often as you like; every 1 to 5 minutes is recommended. Gong updates an object only when its `modifiedDate` is later than the one Gong has.\n- **History:** to show past values, such as a deal's stage at the time of a call, upload earlier versions of each object, each with the `modifiedDate` of that change. Gong keeps them as history.\n\nRequired authorization scopes for the CRM endpoints:\n\n- 'api:crm:integration:register': `PUT /v2/crm/integrations`\n- 'api:crm:integrations:read': `GET /v2/crm/integrations`\n- 'api:crm:integration:delete': `DELETE /v2/crm/integrations`\n- 'api:crm:schema': `GET /v2/crm/entity-schema` and `POST /v2/crm/entity-schema`\n- 'api:crm:upload': `POST /v2/crm/entities` and `GET /v2/crm/request-status`\n- 'api:crm:get-objects': `GET /v2/crm/entities`" }, { "name": "Auditing", "description": "

Gong?s ?Auditing? API endpoints allow you to request the following log types from Gong:

\n\n" }, { "name": "Meetings (BETA)", "description": "

Gong?s ?Consent Meeting? API endpoints allow you to:

\n\n

The requested calls may contain the following meeting details:

\n\n" }, { "name": "Permissions", "description": "

Gong?s \"Permission\" API endpoints allow you to:

\n\n" }, { "name": "Engage Flows", "description": "The Engage Flows endpoints let you add your CRM contacts and leads to Gong Engage flows and remove them. You can also get your company's flows, with their steps and folders, and the flows each prospect is in.\n\n**Where to go in Gong:** Assets > Flows. Learn more about [flows in Engage](https://help.gong.io/docs/about-flows-in-engage).\n\nUse them to:\n\n- Add prospects to flows from another system, such as a lead routing or data enrichment tool.\n- Personalize each prospect's flow steps when you add them: step subjects and bodies, and variable values.\n- Remove prospects from flows when your own system says their outreach should stop.\n- Check which flows a prospect is in now, and the status of each.\n- Copy flows and their steps into your own systems, for reporting or to check their content.\n\nWhich endpoint to use:\n\n- To list the flows a user can see: `GET /v2/flows`\n- To find flows by name: `GET /v2/flows/search`\n- To list the flow folders a user can see: `GET /v2/flows/folders`\n- To get flows with their steps, including each step's subject and body: `POST /v2/flows/steps`\n- To add up to 100 prospects to a flow: `POST /v2/flows/prospects/assign`\n- To add up to 50 prospects to a flow asynchronously: `POST /v2/flows/prospects/bulk-assignments`\n- To get the results of a bulk assignment: `GET /v2/flows/prospects/bulk-assignments/{id}`\n- To get the flows a prospect is in now: `POST /v2/flows/prospects`\n- To remove prospects from flows by flow instance ID: `POST /v2/flows/prospects/unassign-flows-by-instance-id`\n- To remove one prospect from flows by CRM ID: `POST /v2/flows/prospects/unassign-flows-by-crm-id`\n\nGood to know:\n\n- **Flow instances:** each time a prospect is added to a flow, Gong creates a flow instance, with its own ID and status. To track or remove one prospect's place in a flow, keep the `flowInstanceId` from the response, or get it later from `POST /v2/flows/prospects`.\n- **Gong users:** `flowOwnerEmail`, `flowFolderOwnerEmail`, `flowInstanceOwnerEmail` and `unassignedByUserEmail` take the email address of a Gong user with a Gong Engage license. If the address isn't a Gong user's, or the user doesn't have a Gong Engage license, the request fails.\n- **One user per request:** `GET /v2/flows`, `GET /v2/flows/search` and `GET /v2/flows/folders` take one user's email address. The response lists the company's flows, the user's personal flows and flows shared with them. To get flows or folders for several users, send a separate request for each user. Each request counts toward your company's daily rate limit, so request only the users you need.\n- **Prospect batches:** adding prospects one at a time uses up your company's daily rate limit quickly. Send up to 100 prospects in each `POST /v2/flows/prospects/assign` request.\n- **Paging:** each response from `GET /v2/flows` and `GET /v2/flows/folders` contains up to 100 flows or folders. If there are more, the response includes `records.cursor`. To get the next 100, send it as `cursor` in your next request.\n\nRequired authorization scopes for the Engage Flows endpoints:\n\n- 'api:flows:read': `GET /v2/flows`, `GET /v2/flows/search`, `GET /v2/flows/folders`, `POST /v2/flows/steps`, `POST /v2/flows/prospects` and `GET /v2/flows/prospects/bulk-assignments/{id}`\n- 'api:flows:write': `POST /v2/flows/prospects/assign`, `POST /v2/flows/prospects/bulk-assignments`, `POST /v2/flows/prospects/unassign-flows-by-instance-id`, `POST /v2/flows/prospects/unassign-flows-by-crm-id` and the deprecated `POST /v2/flows/prospects/assign/cool-off-override`" }, { "name": "Digital Interactions", "description": "

Digital interactions (DIs) are events people make when interacting with (mostly) digital content. It can be described as an action someone did on an object. Anything from viewing a document or a video, to registering/completing a course or someone visiting your website.

The below proposed Digital Interactions API allows mainly tech-partners (and also customers) to capture and track user interactions with various types of digital content. It provides a structured schema for recording a person?s identity, action, content details, and additional contextual information. The API enables seamless integration between tech-partner systems and the Gong platform, providing valuable insights into buyer-seller interactions that sometimes are hidden from a seller?s line-of-sight.

For simplicity & clarity, the API scheme is designed according to a real-world scenario, including the following terminology:For simplicity & clarity, the API scheme is designed according to a real-world scenario, including the following terminology:

" }, { "name": "Integration Settings", "description": "

Configure your integration settings for displaying your company data in iFrames. For example, use this API to configure dynamic links as the iFrame source. This endpoint includes validation mechanisms to ensure the integration is secure.

Mandatory fields are marked with a *.

" }, { "name": "Engagement (Legacy – See “Digital Interactions”)", "description": "

Limited release - contact integration.requests@gong.io for more information.\n

\n\n

Gong?s \"Engagement\" API endpoints allow you to push engagement events into Gong and display them as events in Gong?s activity timeline.

\n

There are currently 3 types of events:

\n\n" }, { "name": "Accounts Enrich", "description": "

Gong’s “Accounts Enrich” API endpoints allow you to enrich your account records with Gong's data.

\n

Enrichment is asynchronous and works in two steps:

\n
    \n
  1. \nSubmit up to 10 accounts, along with the data categories you want, and receive a jobId.\n
  2. \n
  3. \nRetrieve the results using the jobId. A data category whose status is “Running” is still being enriched, so poll until no category is “Running”.\n
  4. \n
\n

\nEach account is identified by search criteria - its name, domain or LinkedIn URL - and is returned with the id you supplied, so you can correlate results with your request.\n

\n" }, { "name": "Contacts Enrich", "description": "

Gong’s “Contacts Enrich” API endpoints allow you to enrich your contact records with Gong's data.

\n

Enrichment is asynchronous and works in two steps:

\n
    \n
  1. \nSubmit up to 10 contacts, along with the data categories you want, and receive a jobId.\n
  2. \n
  3. \nRetrieve the results using the jobId. A data category whose status is “Running” is still being enriched, so poll until no category is “Running”.\n
  4. \n
\n

Each contact must be identified by one of the following combinations:

\n\n

\nEach contact is returned with the id you supplied, so you can correlate results with your request.\n

\n" } ], "paths": { "/v2/calls/extensive": { "post": { "tags": [ "Calls" ], "summary": "List calls with full data", "description": "Returns the call metadata and, optionally, participants, CRM objects, content such as trackers and topics, interaction statistics, comments and media URLs for each call. To choose the calls, use the `filter` object in the request body: filter by date range, call IDs or call owners. To get the optional data, set it in the `contentSelector` object. If you leave out `contentSelector`, the response includes the metadata only.\n\nThe response lists calls that have a recording, whether Gong recorded or imported them or they were added through the API. Meetings that weren't recorded aren't listed, even if they appear in Gong.\n\nSend the IDs of several calls in one request, in `filter.callIds`. Each request counts toward the company's daily rate limit, and requesting one call at a time reaches it quickly.\n\nEach response contains up to 100 calls. When the `trackerOccurrences` or `trackerEvidence` option in `contentSelector.exposedFields.content` is true, each response contains up to 50 calls. When both are true, it contains up to 25. If there are more, the response includes `records.cursor`. To get the next page, send it as `cursor` in your next request.\n\nParticipants who were invited but didn't join aren't matched to CRM contacts or leads. The response includes their email address, but their name and CRM details can be missing.\n\nMedia URLs are temporary download links to the call's audio and video files. They expire 8 hours after the response is returned. To get new URLs, request the call again. If a call was recorded without audio, the response can still include `audioUrl`, but downloading it returns 403.\n\nRequired authorization scope: 'api:calls:read:extensive'.\nRequired authorization scope to return media URLs (`contentSelector.exposedFields.media`): 'api:calls:read:media-url'.", "operationId": "listCallsExtensive", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PublicApiBaseRequestWithDataV2CallsRequestFilterWithOwnersContentSelector" } } }, "required": true }, "responses": { "200": { "description": "Successful response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Calls" } } } }, "400": { "description": "- The request body isn't valid JSON.\n- A required field is missing, or a value has the wrong type or format. The error message names the field.\n- `cursor` isn't valid or has expired. To start over, send the request without `cursor`.\n- `filter.callIds` and `filter.workspaceId` are both provided.\n- `trackerSummary` or `trackerEvidence` in `contentSelector.exposedFields.content` is true, and `trackers` isn't.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "401": { "description": "- The API key or access token is missing or isn't valid.\n- The integration uses OAuth, and its token doesn't have the scope this endpoint requires. The error message names the scope.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "- No calls match the request.\n- A call in `filter.callIds` isn't found. The error message lists those call IDs.\n- Gong hasn't finished processing a call in `filter.callIds`. The error message lists those call IDs.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "429": { "description": "- The company sent more requests than its rate limit allows. Wait the number of seconds in `Retry-After`, then send the request again.", "headers": { "Retry-After": { "description": "The number of seconds to wait before you send the request again.", "style": "simple", "explode": false, "schema": { "type": "integer", "format": "int32" } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "500": { "description": "- Gong couldn't complete the request because of an unexpected error. Try again. If the error continues, contact Gong Support and give them the `requestId` from the response.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } } } } } }, "components": { "schemas": { "PublicApiBaseRequestWithDataV2CallsRequestFilterWithOwnersContentSelector": { "required": [ "filter" ], "type": "object", "properties": { "cursor": { "type": "string", "description": "The `records.cursor` value from the previous response. Provide it to get the next page of results.", "example": "eyJhbGciOiJIUzI1NiJ9.eyJjYWxsSWQiM1M30.6qKwpOcvnuweTZmFRzYdtjs_YwJphJU4QIwWFM" }, "filter": { "description": "The filters to apply. Returns the calls that match every filter you provide.", "$ref": "#/components/schemas/CallsRequestFilterWithOwners" }, "contentSelector": { "description": "The data to return for each call, in addition to the metadata.", "$ref": "#/components/schemas/ContentSelector" } } }, "Calls": { "type": "object", "properties": { "requestId": { "type": "string", "description": "The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.", "example": "4al018gzaztcr8nbukw" }, "records": { "$ref": "#/components/schemas/Records" }, "calls": { "type": "array", "description": "The calls returned by the request.", "items": { "$ref": "#/components/schemas/CallData" } } } }, "ErrorResponse": { "type": "object", "properties": { "requestId": { "type": "string", "description": "The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.", "example": "4al018gzaztcr8nbukw" }, "errors": { "type": "array", "description": "Error messages.", "example": [ "An error has occurred" ], "items": { "type": "string" } } } }, "CallsRequestFilterWithOwners": { "type": "object", "properties": { "fromDateTime": { "type": "string", "description": "The start of the time range to return calls from. Returns calls that started on or after this date and time. If not provided, starts from the earliest call. The date is the call's start time. Use ISO-8601 format, in UTC (Z) or with a timezone offset such as -07:00.", "example": "2018-02-17T10:30:00+00:00" }, "toDateTime": { "type": "string", "description": "The end of the time range to return calls from. Returns calls that started before this date and time. If not provided, ends with the most recent call. The date is the call's start time. Use ISO-8601 format, in UTC (Z) or with a timezone offset such as -07:00.", "example": "2018-02-19T10:30:00+00:00" }, "workspaceId": { "type": "string", "description": "The ID of the workspace to return calls from. If not provided, returns calls from all workspaces.", "example": "623457276584334" }, "callIds": { "uniqueItems": true, "type": "array", "description": "The Gong IDs of the calls to return. If not provided, returns all calls in the date range. Can't be used with `workspaceId`.", "writeOnly": true, "example": [ "7782342274025937895" ], "items": { "type": "string" } }, "primaryUserIds": { "uniqueItems": true, "type": "array", "description": "The Gong user IDs of the call owners. Returns calls owned by any of these users. The IDs match `primaryUserId` in the response.", "example": [ "7782342274025937895" ], "items": { "type": "string" } } }, "description": "The filters to apply. Returns the calls that match every filter you provide." }, "ContentSelector": { "type": "object", "properties": { "context": { "type": "string", "description": "The CRM data to return for each call and its participants. Accepted values: `None`, `Basic`, `Extended`. `None` (the default) returns no CRM data. `Basic` returns the linked objects, such as the CRM account and opportunity, with their IDs. `Extended` also returns the objects' field values.", "enum": [ "None", "Basic", "Extended" ] }, "contextTiming": { "type": "array", "description": "The points in time the opportunity field values are from. Accepted values: `Now` (the current values), `TimeOfCall` (the values when the call took place). Send one or both. The default is `Now`. Use it with `context` set to `Extended`. The response includes a copy of each opportunity for each timing you send. If Gong has no history for a field, the `TimeOfCall` copy shows its current value. Accounts, contacts and leads always show their current values.", "items": { "type": "string", "description": "Timing for the context data. The field is optional and can contain either \"Now\" or \"TimeOfCall\" or both. The default value is [\"Now\"]. Can be provided only when the context field is set to 'Extended'", "enum": [ "Now", "TimeOfCall" ] } }, "exposedFields": { "description": "The response fields to include for each call.", "$ref": "#/components/schemas/ExposedFields" } }, "description": "The data to return for each call, in addition to the metadata." }, "Records": { "type": "object", "properties": { "totalRecords": { "type": "integer", "description": "The total number of results that match the request.", "format": "int32", "example": 263 }, "currentPageSize": { "type": "integer", "description": "The number of results on this page.", "format": "int32", "example": 100 }, "currentPageNumber": { "type": "integer", "description": "The page number. The first page is 0.", "format": "int32", "example": 0 }, "cursor": { "type": "string", "description": "The value to send as `cursor` in your next request, to get the next page. Returned only when there are more results.", "example": "eyJhbGciOiJIUzI1NiJ9.eyJjYWxsSWQiM1M30.6qKwpOcvnuweTZmFRzYdtjs_YwJphJU4QIwWFM" } }, "description": "Data about the results returned." }, "CallData": { "description": "A call, with its metadata and any other data you request in `contentSelector`.", "type": "object", "properties": { "metaData": { "description": "The call's metadata, such as its title, start time, duration and call owner.", "$ref": "#/components/schemas/CallBasicData" }, "context": { "type": "array", "description": "The CRM objects linked to the call, such as the account and opportunity. Returned when `contentSelector.context` is `Basic` or `Extended`.", "items": { "$ref": "#/components/schemas/CallContextDto" } }, "parties": { "type": "array", "description": "The participants in the call. Returned when `contentSelector.exposedFields.parties` is true.", "items": { "$ref": "#/components/schemas/Party" } }, "content": { "description": "The content of the call, such as topics, trackers and the brief. Can be empty if you request it right after the call ends, before Gong finishes processing the call. If it's empty, request the call again later.", "$ref": "#/components/schemas/ContentDto" }, "interaction": { "description": "The interaction statistics of the call, such as talk time and question counts. Returned when at least one option in `contentSelector.exposedFields.interaction` is true.", "$ref": "#/components/schemas/InteractionMeasuresDto" }, "collaboration": { "description": "Comments on the call. Returned when `contentSelector.exposedFields.collaboration.publicComments` is true.", "$ref": "#/components/schemas/CollaborationDto" }, "media": { "description": "The URLs of the call's recording. Returned when `contentSelector.exposedFields.media` is true.", "$ref": "#/components/schemas/MediaDto" } } }, "ExposedFields": { "type": "object", "properties": { "parties": { "type": "boolean", "description": "Set to true to return details about the call's participants, such as their names, email addresses and speaker IDs.", "example": true }, "content": { "description": "The content data to return, such as topics and trackers.", "$ref": "#/components/schemas/CallContent" }, "interaction": { "description": "The interaction statistics to return, such as talk time and question counts.", "$ref": "#/components/schemas/CallInteraction" }, "collaboration": { "description": "The comments to return.", "$ref": "#/components/schemas/CallCollaboration" }, "media": { "type": "boolean", "description": "Set to true to return the URLs of the call's audio and video files. Requires the scope 'api:calls:read:media-url'.", "example": true } }, "description": "The response fields to include for each call." }, "CallBasicData": { "description": "A call's metadata.", "type": "object", "properties": { "id": { "type": "string", "description": "The Gong ID of the call. Up to 20 digits.", "example": "7782342274025937895" }, "url": { "type": "string", "description": "The URL of the call page in Gong.", "example": "https://app.gong.io/call?id=7782342274025937895" }, "title": { "type": "string", "description": "The title of the call.", "example": "Example call" }, "scheduled": { "type": "string", "description": "The date and time the call was scheduled to start, in ISO-8601 format.", "format": "date-time", "example": "2018-02-17T10:30:00Z" }, "started": { "type": "string", "description": "The date and time the call actually started, in ISO-8601 format.", "format": "date-time", "example": "2018-02-17T10:30:00Z" }, "duration": { "type": "integer", "description": "The duration of the call, in seconds.", "format": "int64", "example": 460 }, "primaryUserId": { "type": "string", "description": "The Gong user ID of the call owner.", "example": "234599484848423" }, "direction": { "type": "string", "description": "The direction of the call. Possible values: `Inbound`, `Outbound`, `Conference`, `Unknown`.", "enum": [ "Inbound", "Outbound", "Conference", "Unknown" ] }, "system": { "type": "string", "description": "The name of the conferencing or telephony system the call was made in, such as Zoom or Microsoft Teams. For calls added through `POST /v2/calls`, it's the system named in `callProviderCode`.", "example": "Outreach" }, "scope": { "type": "string", "description": "The scope of the call. Possible values: `Internal` (all participants are from the company), `External` (at least one participant is from outside the company), `Unknown` (Gong couldn't tell).", "example": "Internal", "enum": [ "Internal", "External", "Unknown" ] }, "media": { "type": "string", "description": "The type of recording. Possible values: `Video`, `Audio`.", "example": "Video", "enum": [ "Video", "Audio" ] }, "language": { "type": "string", "description": "The language Gong transcribed the call in, as an ISO 639-2/B code. A call has one transcript language, even if more than one language was spoken. `und` means the language isn't supported, and `zxx` means there wasn't enough speech to identify it.", "example": "eng" }, "workspaceId": { "type": "string", "description": "The ID of the workspace the call belongs to. Up to 20 digits.", "example": "623457276584334" }, "sdrDisposition": { "type": "string", "description": "The disposition of the call, such as \"No answer\" or \"Left voicemail\". It's set in the telephony system, entered by a user in Gong, or sent in `disposition` when the call was added through the API.", "example": "Got the gatekeeper" }, "clientUniqueId": { "type": "string", "description": "The call's ID in the system that recorded it, typically a telephony system. Returned for calls added through the API (the `clientUniqueId` you sent) and calls imported from a telephony system. Use it to match the call to your own system.", "example": "7JEHFRGXDDZFEW2FC4U" }, "customData": { "type": "string", "description": "The `customData` sent when the call was added through the API.", "example": "Conference Call" }, "purpose": { "type": "string", "description": "The purpose of the call.", "example": "Demo Call" }, "meetingUrl": { "type": "string", "description": "The URL of the web conference the call was recorded in.", "example": "https://zoom.us/j/123" }, "isPrivate": { "type": "boolean", "description": "Indicates whether the call is private.", "example": false }, "calendarEventId": { "type": "string", "description": "The ID of the call's event in Google Calendar or Outlook.", "example": "abcde@google.com" } } }, "CallContextDto": { "description": "A CRM linked to the call, with the call's objects in it, such as the account and opportunity.", "type": "object", "properties": { "system": { "type": "string", "description": "The CRM the objects are in. Possible values: `Salesforce`, `HubSpot`, `MicrosoftDynamic`, `Generic` (CRM data uploaded through the CRM API).", "example": "Salesforce", "enum": [ "Salesforce", "HubSpot", "MicrosoftDynamic", "Generic" ] }, "objects": { "type": "array", "description": "The objects linked to the call in the CRM.", "items": { "$ref": "#/components/schemas/ExternalCallObject" } } } }, "Party": { "type": "object", "properties": { "id": { "type": "string", "description": "The Gong ID of the call participant.", "example": "56825452554556" }, "emailAddress": { "type": "string", "description": "The email address of the participant.", "example": "test@test.com" }, "name": { "type": "string", "description": "The name of the participant.", "example": "Test User" }, "title": { "type": "string", "description": "The job title of the participant.", "example": "Enterprise Account Executive" }, "userId": { "type": "string", "description": "The Gong user ID of the participant, if the participant is a Gong user.", "example": "234599484848423" }, "speakerId": { "type": "string", "description": "The participant's ID as a speaker in the call. Matches `speakerId` in `POST /v2/calls/transcript` and in tracker occurrences. Null if the participant didn't speak.", "example": "6432345678555530067" }, "context": { "type": "array", "description": "The participant's CRM objects, such as their contact or lead. Returned when `contentSelector.context` is `Basic` or `Extended`.", "items": { "$ref": "#/components/schemas/PartyContextDto" } }, "affiliation": { "type": "string", "description": "The participant's affiliation with the company. Possible values: `Internal` (from the company), `External` (from outside the company), `Unknown` (Gong couldn't tell).", "enum": [ "Internal", "External", "Unknown" ] }, "phoneNumber": { "type": "string", "description": "The phone number of the participant.", "example": "+1 123-567-8989" }, "methods": { "type": "array", "description": "How the participant took part in the call. Possible values: `Invitee` (was invited), `Attendee` (attended the call). Can include both.", "items": { "type": "string", "description": "Whether the participant was invited to the meeting or only attended the call.", "enum": [ "Invitee", "Attendee" ] } } } }, "ContentDto": { "type": "object", "properties": { "structure": { "type": "array", "description": "The agenda of the call, part by part. Returned when `contentSelector.exposedFields.content.structure` is true.", "items": { "$ref": "#/components/schemas/StructureDto" } }, "trackers": { "description": "The trackers that came up in the call. Returned when `contentSelector.exposedFields.content.trackers` is true.", "type": "array", "items": { "$ref": "#/components/schemas/TrackerDto" } }, "topics": { "description": "The topics discussed in the call. Returned when `contentSelector.exposedFields.content.topics` is true.", "type": "array", "items": { "$ref": "#/components/schemas/TopicDto" } }, "brief": { "type": "string", "description": "The call brief. Returned when `contentSelector.exposedFields.content.brief` is true and the brief is available." }, "outline": { "type": "array", "description": "The outline of the call, in sections. Returned when `contentSelector.exposedFields.content.outline` is true and the outline is available.", "items": { "$ref": "#/components/schemas/CallOutlineSection" } }, "highlights": { "type": "array", "description": "The highlights of the call, in sections. Returned when `contentSelector.exposedFields.content.highlights` is true and the highlights are available.", "items": { "$ref": "#/components/schemas/CallHighlightsSection" } }, "callOutcome": { "description": "The outcome of the call set by Gong AI. Returned when `contentSelector.exposedFields.content.callOutcome` is true and the outcome is available.", "$ref": "#/components/schemas/CallOutcome" }, "keyPoints": { "type": "array", "description": "The key points of the call. Returned when `contentSelector.exposedFields.content.keyPoints` is true and the key points are available.", "items": { "$ref": "#/components/schemas/CallKeyPoint" } } }, "description": "The content of the call, such as topics, trackers and the brief. Can be empty if you request it right after the call ends, before Gong finishes processing the call. If it's empty, request the call again later." }, "InteractionMeasuresDto": { "type": "object", "properties": { "speakers": { "type": "array", "description": "How long each Gong user spoke in the call. Participants who aren't Gong users aren't listed. Returned when `contentSelector.exposedFields.interaction.speakers` is true.", "items": { "$ref": "#/components/schemas/UserSpeaker" } }, "interactionStats": { "type": "array", "description": "The interaction statistics of the call owner. Possible values of `name`: `Talk Ratio`, `Longest Monologue`, `Longest Customer Story`, `Interactivity`, `Patience`. If Gong didn't identify the call owner in the call, the values are 0. Returned when `contentSelector.exposedFields.interaction.personInteractionStats` is true.", "items": { "$ref": "#/components/schemas/InteractionStatsDto" } }, "video": { "type": "array", "description": "How long the video showed each type of content. Returned for video calls when `contentSelector.exposedFields.interaction.video` is true.", "items": { "$ref": "#/components/schemas/VideoInteractionDto" } }, "questions": { "description": "The number of questions asked in the call. Returned when `contentSelector.exposedFields.interaction.questions` is true.", "$ref": "#/components/schemas/Questions" } }, "description": "The interaction statistics of the call, such as talk time and question counts." }, "CollaborationDto": { "type": "object", "properties": { "publicComments": { "type": "array", "description": "The public comments on the call. Each reply follows the comment it replies to.", "items": { "$ref": "#/components/schemas/CommentDto" } } }, "description": "Comments on the call." }, "MediaDto": { "type": "object", "properties": { "audioUrl": { "type": "string", "description": "The URL of the call's audio file. Expires 8 hours after the response is returned.", "format": "url" }, "videoUrl": { "type": "string", "description": "The URL of the call's video file. Returned for video calls. Expires 8 hours after the response is returned.", "format": "url" } }, "description": "The URLs of the call's recording." }, "CallContent": { "type": "object", "properties": { "structure": { "type": "boolean", "description": "Set to true to return the agenda of the call, if it has one.", "example": false }, "topics": { "type": "boolean", "description": "Set to true to return the topics discussed in the call and the time spent on each.", "example": false }, "trackers": { "type": "boolean", "description": "Set to true to return the keyword trackers and AI trackers that came up in the call.", "example": false }, "trackerOccurrences": { "type": "boolean", "description": "Set to true to return when each tracker came up in the call and who said it. Requires `trackers` to be true. Available for calls recorded since January 1, 2023. To get occurrences for earlier calls, contact Gong Support.", "example": false }, "pointsOfInterest": { "type": "boolean", "description": "Deprecated.", "example": false }, "brief": { "type": "boolean", "description": "Set to true to return the call brief.", "example": true }, "outline": { "type": "boolean", "description": "Set to true to return the call outline.", "example": true }, "highlights": { "type": "boolean", "description": "Set to true to return the call highlights.", "example": true }, "callOutcome": { "type": "boolean", "description": "Set to true to return the outcome of the call set by Gong AI.", "example": true }, "keyPoints": { "type": "boolean", "description": "Set to true to return the call key points.", "example": true }, "trackerEvidence": { "type": "boolean", "description": "Set to true to return the call segments behind each AI tracker result: start and end times, confidence score and speaker ID. Requires `trackers` to be true.", "example": false }, "trackerSummary": { "type": "boolean", "description": "Set to true to return an AI-generated summary of what each AI tracker found in the call. Requires `trackers` to be true.", "example": false } }, "description": "The content data to return." }, "CallInteraction": { "type": "object", "properties": { "speakers": { "type": "boolean", "description": "Set to true to return how long each Gong user spoke in the call.", "example": true }, "video": { "type": "boolean", "description": "Set to true to return how long the video showed a browser, a presentation or webcams. Applies to video calls.", "example": true }, "personInteractionStats": { "type": "boolean", "description": "Set to true to return the call owner's interaction statistics, in `calls[].interaction.interactionStats`.", "example": true }, "questions": { "type": "boolean", "description": "Set to true to return the number of questions asked by people from the company and from outside it.", "example": true } }, "description": "The interaction statistics to return, such as talk time and question counts." }, "CallCollaboration": { "type": "object", "properties": { "publicComments": { "type": "boolean", "description": "Set to true to return the public comments on the call.", "example": true } }, "description": "The comments to return." }, "ExternalCallObject": { "description": "An object linked to the call in the CRM, such as an account or opportunity.", "type": "object", "properties": { "objectType": { "type": "string", "description": "The type of the object in the CRM. Possible values: `Opportunity`, `Account`.", "example": "Opportunity", "enum": [ "Opportunity", "Account" ] }, "objectId": { "type": "string", "description": "The ID of the object in the CRM.", "example": "0013601230sV7grAAC" }, "fields": { "description": "The object's field values. Account fields: `Name`, `Website`, `Industry` and custom fields. Opportunity fields: `Name`, `LeadSource`, `Type`, `StageName`, `Probability`, `Amount`, `CloseDate` and custom fields. Fields with no value are left out. Returned when `contentSelector.context` is `Extended`.", "type": "array", "items": { "$ref": "#/components/schemas/ContextField" } }, "timing": { "type": "string", "description": "The point in time the field values are from. Possible values: `Now` (the current values), `TimeOfCall` (the values when the call took place). Returned for opportunities. Accounts always show their current values.", "enum": [ "Now", "TimeOfCall" ] } } }, "PartyContextDto": { "description": "A CRM linked to the participant, with the participant's objects in it, such as their contact or lead.", "type": "object", "properties": { "system": { "type": "string", "description": "The CRM the objects are in. Possible values: `Salesforce`, `HubSpot`, `MicrosoftDynamic`, `Generic` (CRM data uploaded through the CRM API).", "example": "Salesforce", "enum": [ "Salesforce", "HubSpot", "MicrosoftDynamic", "Generic" ] }, "objects": { "type": "array", "description": "The participant's objects in the CRM.", "items": { "$ref": "#/components/schemas/ExternalPartyObject" } } } }, "StructureDto": { "description": "A part of the call's agenda.", "type": "object", "properties": { "name": { "type": "string", "description": "The name of the agenda item.", "example": "Meeting Setup" }, "duration": { "type": "integer", "description": "The duration of this part of the call, in seconds.", "format": "int64", "example": 67 } } }, "TrackerDto": { "type": "object", "properties": { "id": { "type": "string", "description": "The Gong ID of the tracker.", "example": "56825452554556" }, "name": { "type": "string", "description": "The name of the tracker.", "example": "Competitors" }, "count": { "type": "integer", "description": "The number of times the tracker came up in the call.", "format": "int32", "example": 7 }, "type": { "type": "string", "description": "The type of tracker. Possible values: `KEYWORD` (keyword tracker), `SMART` (AI tracker).", "example": "KEYWORD", "enum": [ "KEYWORD", "SMART" ] }, "occurrences": { "type": "array", "description": "When the tracker came up in the call and who said it. Lists each time any of the tracker's terms came up. Empty for keyword trackers that track each term separately. Their occurrences are in `phrases[].occurrences`. Returned when `contentSelector.exposedFields.content.trackerOccurrences` is true.", "items": { "$ref": "#/components/schemas/occurrences" } }, "phrases": { "type": "array", "description": "The terms of a keyword tracker, with when each came up in the call. AI trackers have no terms listed.", "items": { "$ref": "#/components/schemas/trackerPhrases" } }, "evidence": { "type": "array", "description": "The call segments behind the AI tracker result, sorted by start time. Returned when `contentSelector.exposedFields.content.trackerEvidence` is true. Not returned for keyword trackers.", "items": { "$ref": "#/components/schemas/trackerEvidenceSegment" } }, "summary": { "description": "An AI-generated summary of what the AI tracker found in the call. Returned when `contentSelector.exposedFields.content.trackerSummary` is true. Not returned for keyword trackers.", "$ref": "#/components/schemas/trackerSummary" } } }, "TopicDto": { "type": "object", "properties": { "name": { "type": "string", "description": "The name of the topic.", "example": "Objections" }, "duration": { "type": "integer", "description": "The total time spent on the topic in the call, in seconds.", "format": "int32", "example": 86 } } }, "CallOutlineSection": { "type": "object", "properties": { "section": { "type": "string", "description": "The name of the section." }, "startTime": { "type": "number", "description": "The start time of the section, in seconds from the start of the call.", "format": "double" }, "duration": { "type": "number", "description": "The duration of the section, in seconds.", "format": "double" }, "items": { "type": "array", "description": "The items in the section.", "items": { "$ref": "#/components/schemas/CallOutlineItem" } } } }, "CallHighlightsSection": { "type": "object", "properties": { "title": { "type": "string", "description": "The title of the highlights section." }, "items": { "type": "array", "description": "The highlights in the section.", "items": { "$ref": "#/components/schemas/CallHighlightsItem" } } } }, "CallOutcome": { "type": "object", "properties": { "id": { "type": "string", "description": "The Gong ID of the call outcome set by Gong AI.", "example": "MEETING_BOOKED" }, "category": { "type": "string", "description": "The category of the call outcome.", "example": "Answered" }, "name": { "type": "string", "description": "The name of the call outcome.", "example": "Meeting booked" } }, "description": "The outcome of the call set by Gong AI." }, "CallKeyPoint": { "type": "object", "properties": { "text": { "type": "string", "description": "The text of the key point." } } }, "UserSpeaker": { "description": "A Gong user and how long they spoke in the call.", "type": "object", "properties": { "id": { "type": "string", "description": "The Gong ID of the call participant. Matches `parties[].id`.", "example": "56825452554556" }, "userId": { "type": "string", "description": "The Gong user ID of the speaker.", "example": "234599484848423" }, "talkTime": { "type": "number", "description": "How long the user spoke, in seconds.", "format": "double", "example": 145 } } }, "InteractionStatsDto": { "description": "An interaction statistic of the call owner.", "type": "object", "properties": { "name": { "type": "string", "description": "The name of the statistic.", "example": "Interactivity" }, "value": { "type": "number", "description": "The value of the statistic. `Talk Ratio`: the share of the call the call owner spoke, from 0 to 1. `Longest Monologue`: the call owner's longest speech, in seconds. `Longest Customer Story`: the longest time a customer spoke, in seconds. `Interactivity`: how often the conversation switched between the call owner and customers, from 0 to 10. `Patience`: how long the call owner waited after a customer stopped speaking, in seconds.", "example": 56 } } }, "VideoInteractionDto": { "description": "A type of video content and how long the video showed it.", "type": "object", "properties": { "name": { "type": "string", "description": "The type of video content. Possible values: `Browser` (a web browser), `Presentation` (a presentation, such as PowerPoint), `WebcamPrimaryUser` (the call owner's webcam), `WebcamNonCompany` (webcams of people from outside the company), `Webcam` (any webcam).", "example": "Browser" }, "duration": { "type": "number", "description": "The total time the video showed this content, in seconds.", "format": "float", "example": 218 } } }, "Questions": { "type": "object", "properties": { "companyCount": { "type": "integer", "description": "The number of questions asked by people from the company.", "format": "int32" }, "nonCompanyCount": { "type": "integer", "description": "The number of questions asked by people from outside the company.", "format": "int32" } }, "description": "The number of questions asked in the call." }, "CommentDto": { "type": "object", "properties": { "id": { "type": "string", "description": "The Gong ID of the comment.", "example": "6843152929075440037" }, "audioStartTime": { "type": "number", "description": "The start of the part of the call the comment refers to, in seconds from the start of the call.", "format": "float", "example": 26 }, "audioEndTime": { "type": "number", "description": "The end of the part of the call the comment refers to, in seconds from the start of the call.", "format": "float", "example": 26 }, "commenterUserId": { "type": "string", "description": "The Gong user ID of the user who wrote the comment.", "example": "234599484848423" }, "comment": { "type": "string", "description": "The text of the comment. A mention of a user appears as @[user name](user ID).", "example": "new comment" }, "posted": { "type": "string", "description": "The date and time the comment was posted, in ISO-8601 format.", "format": "date-time", "example": "2018-02-17T10:30:00Z" }, "inReplyTo": { "type": "string", "description": "The Gong ID of the comment this comment replies to.", "example": "792390015966656336" }, "duringCall": { "type": "boolean", "description": "Indicates whether the comment was written during the call, not after it." } } }, "ContextField": { "description": "A field of an object in an external system, with its value.", "type": "object", "properties": { "name": { "type": "string", "description": "The name of the field.", "example": "name" }, "value": { "type": "object", "description": "The value of the field.", "example": "Gong Inc." } } }, "ExternalPartyObject": { "description": "An object linked to the participant in the CRM, such as a contact or lead.", "type": "object", "properties": { "objectType": { "type": "string", "description": "The type of the object in the CRM. Possible values: `Contact`, `User`, `Lead`.", "example": "Contact", "enum": [ "Contact", "User", "Lead" ] }, "objectId": { "type": "string", "description": "The ID of the object in the CRM.", "example": "0013601230sV7grAAC" }, "fields": { "type": "array", "description": "The object's field values. Fields with no value are left out. Returned for `Lead` and `Contact` objects when `contentSelector.context` is `Extended`.", "items": { "$ref": "#/components/schemas/PartyContextField" } }, "timing": { "type": "string", "description": "The point in time the field values are from. Not returned for participants' objects, which always show their current values.", "enum": [ "Now", "TimeOfCall" ] } } }, "occurrences": { "type": "object", "properties": { "startTime": { "type": "number", "description": "The time the term was said, in seconds from the start of the call.", "format": "double", "example": 32.56 }, "speakerId": { "type": "string", "description": "The speaker ID of the participant who said the term. Matches `parties[].speakerId` and `speakerId` in the transcript.", "example": "234599484848423" } } }, "trackerPhrases": { "type": "object", "properties": { "count": { "type": "integer", "description": "The number of times the term came up in the call.", "format": "int32", "example": 5 }, "occurrences": { "type": "array", "description": "When the term came up in the call and who said it.", "items": { "$ref": "#/components/schemas/occurrences" } }, "phrase": { "type": "string", "description": "The tracker term.", "example": "Walmart" } } }, "trackerEvidenceSegment": { "type": "object", "properties": { "start": { "type": "number", "description": "The start of the segment, in seconds from the start of the call.", "format": "double", "example": 32.56 }, "end": { "type": "number", "description": "The end of the segment, in seconds from the start of the call.", "format": "double", "example": 41.02 }, "score": { "type": "number", "description": "The confidence score for the segment, from 0 (lowest) to 1 (highest).", "format": "double", "example": 0.87 }, "speakerId": { "type": "string", "description": "The speaker ID of the participant who spoke in the segment. Matches `parties[].speakerId` and `speakerId` in the transcript.", "example": "234599484848423" } } }, "trackerSummary": { "type": "object", "properties": { "bullets": { "type": "array", "description": "The bullet points in the summary.", "items": { "$ref": "#/components/schemas/trackerSummaryBullet" } } }, "description": "An AI-generated summary of what the AI tracker found in the call." }, "CallOutlineItem": { "type": "object", "properties": { "text": { "type": "string", "description": "The text of the item." }, "startTime": { "type": "number", "description": "The start time of the item, in seconds from the start of the call.", "format": "double" } } }, "CallHighlightsItem": { "type": "object", "properties": { "text": { "type": "string", "description": "The text of the highlight." }, "startTimes": { "type": "array", "description": "The times the highlight came up, in seconds from the start of the call. A highlight can come up more than once.", "items": { "type": "number", "format": "double" } } } }, "PartyContextField": { "description": "A field of an object in an external system, with its value.", "type": "object", "properties": { "name": { "type": "string", "description": "The name of the field. Custom fields are included.", "example": "name" }, "value": { "type": "object", "description": "The value of the field.", "example": "Gong Inc." } } }, "trackerSummaryBullet": { "type": "object", "properties": { "text": { "type": "string", "description": "The text of the bullet point.", "example": "Asked about Walmart pricing" } } } } } } ````