List calls by date range

Prev Next
Get
/v2/calls

Returns the metadata of calls that started between fromDateTime and toDateTime, such as the title, start time, duration, call owner, direction and recording system.

The metadata doesn't include participants, content, media URLs or transcripts. For participants, content and media URLs, use POST /v2/calls/extensive. For transcripts, use POST /v2/calls/transcript.

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.

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.

Required authorization scope: 'api:calls:read:basic'.

Query parameters
cursor
string

The records.cursor value from the previous response. Provide it to get the next page of results.

ExampleeyJhbGciOiJIUzI1NiJ9.eyJjYWxsSWQiM1M30.6qKwpOcvnuweTZmFRzYdtjs_YwJphJU4QIwWFM
fromDateTime
stringRequired

The start of the time range to return calls from. Returns calls that started on or after this date and time. For web-conference calls, the date is the scheduled time. Otherwise, it's the actual start time. Use ISO-8601 format, in UTC (Z) or with a timezone offset such as -07:00.

toDateTime
stringRequired

The end of the time range to return calls from. Returns calls that started before this date and time. For web-conference calls, the date is the scheduled time. Otherwise, it's the actual start time. Use ISO-8601 format, in UTC (Z) or with a timezone offset such as -07:00.

workspaceId
string

The ID of the workspace to return calls from. If not provided, returns calls from all workspaces.

Responses
200

Successful response

Expand All
object
requestId
string

The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.

Example4al018gzaztcr8nbukw
records
object (Records)

Data about the results returned.

totalRecords
integer (int32)

The total number of results that match the request.

Example263
currentPageSize
integer (int32)

The number of results on this page.

Example100
currentPageNumber
integer (int32)

The page number. The first page is 0.

Example0
cursor
string

The value to send as cursor in your next request, to get the next page. Returned only when there are more results.

ExampleeyJhbGciOiJIUzI1NiJ9.eyJjYWxsSWQiM1M30.6qKwpOcvnuweTZmFRzYdtjs_YwJphJU4QIwWFM
calls
Array of object (CallBasicData)

The calls returned by the request.

object

A call's metadata.

id
string

The Gong ID of the call. Up to 20 digits.

Example7782342274025937895
url
string

The URL of the call page in Gong.

Examplehttps://app.gong.io/call?id=7782342274025937895
title
string

The title of the call.

ExampleExample call
scheduled
string (date-time)

The date and time the call was scheduled to start, in ISO-8601 format.

Example2018-02-17T10:30:00Z
started
string (date-time)

The date and time the call actually started, in ISO-8601 format.

Example2018-02-17T10:30:00Z
duration
integer (int64)

The duration of the call, in seconds.

Example460
primaryUserId
string

The Gong user ID of the call owner.

Example234599484848423
direction
string

The direction of the call. Possible values: Inbound, Outbound, Conference, Unknown.

Valid values[ "Inbound", "Outbound", "Conference", "Unknown" ]
system
string

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.

ExampleOutreach
scope
string

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).

Valid values[ "Internal", "External", "Unknown" ]
ExampleInternal
media
string

The type of recording. Possible values: Video, Audio.

Valid values[ "Video", "Audio" ]
ExampleVideo
language
string

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.

Exampleeng
workspaceId
string

The ID of the workspace the call belongs to. Up to 20 digits.

Example623457276584334
sdrDisposition
string

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.

ExampleGot the gatekeeper
clientUniqueId
string

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.

Example7JEHFRGXDDZFEW2FC4U
customData
string

The customData sent when the call was added through the API.

ExampleConference Call
purpose
string

The purpose of the call.

ExampleDemo Call
meetingUrl
string

The URL of the web conference the call was recorded in.

Examplehttps://zoom.us/j/123
isPrivate
boolean

Indicates whether the call is private.

Examplefalse
calendarEventId
string

The ID of the call's event in Google Calendar or Outlook.

Exampleabcde@google.com
400
  • A parameter has the wrong type or format. The error message names the parameter.
  • A date has a timezone offset with an unescaped plus sign. In the query string, write + as %2B.
  • cursor isn't valid or has expired. To start over, send the request without cursor.
object
requestId
string

The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.

Example4al018gzaztcr8nbukw
errors
Array of string

Error messages.

Example[ "An error has occurred" ]
string
401
  • The API key or access token is missing or isn't valid.
  • The integration uses OAuth, and its token doesn't have the scope this endpoint requires. The error message names the scope.
object
requestId
string

The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.

Example4al018gzaztcr8nbukw
errors
Array of string

Error messages.

Example[ "An error has occurred" ]
string
404
  • No calls match the request.
object
requestId
string

The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.

Example4al018gzaztcr8nbukw
errors
Array of string

Error messages.

Example[ "An error has occurred" ]
string
429
  • 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
integer (int32)
The number of seconds to wait before you send the request again.
object
requestId
string

The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.

Example4al018gzaztcr8nbukw
errors
Array of string

Error messages.

Example[ "An error has occurred" ]
string
500
  • 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.
object
requestId
string

The Gong ID of this request. Provide it to Gong Support to troubleshoot a problem with the request.

Example4al018gzaztcr8nbukw
errors
Array of string

Error messages.

Example[ "An error has occurred" ]
string