List call transcripts

Prev Next
Post
/v2/calls/transcript

Returns the transcripts of calls that started between filter.fromDateTime and filter.toDateTime. Each transcript is a list of monologues, each with its speaker, topic and timed sentences.

The response lists transcripts of calls that have a recording, whether Gong recorded or imported them or they were added through the API. Meetings that weren't recorded have no transcript.

To limit results to specific calls, send their IDs in filter.callIds. You get transcripts of the calls that match both the date range and the IDs. Send the IDs of several calls in one request. 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. If there are more, the response includes records.cursor. To get the next 100, send it as cursor in your next request.

To see who spoke in each part of a transcript, match transcript[].speakerId to parties[].speakerId from POST /v2/calls/extensive, with contentSelector.exposedFields.parties set to true.

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

Body parameters
Expand All
object
cursor
string

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

ExampleeyJhbGciOiJIUzI1NiJ9.eyJjYWxsSWQiM1M30.6qKwpOcvnuweTZmFRzYdtjs_YwJphJU4QIwWFM
filter
object (CallsFilter) Required

The filters to apply. Returns the calls that match every filter you provide.

fromDateTime
string

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.

Example2018-02-17T02:30:00-08:00
toDateTime
string

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.

Example2018-02-19T02:30:00-08:00
workspaceId
string

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

Example623457276584334
callIds
Array of string

The Gong IDs of the calls to return transcripts for. If not provided, returns transcripts of all calls in the date range. Can't be used with workspaceId.

Unique itemstrue
Example[ "7782342274025937895" ]
string
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
callTranscripts
Array of object (CallTranscript)

The transcripts, one per call.

object

A transcript of a call.

callId
string

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

Example7782342274025937895
transcript
Array of object (Monologue)

The transcript of the call, as a list of monologues. A monologue is a stretch of speech by one speaker.

object

A monologue in the transcript: a stretch of speech by one speaker.

speakerId
string

The speaker ID of the participant who spoke. Matches parties[].speakerId in POST /v2/calls/extensive.

Example6432345678555530067
topic
string

The name of the topic discussed in the monologue.

ExampleObjections
sentences
Array of object (Sentence)

The sentences in the monologue.

object

A sentence in the monologue.

start
integer (int64)

The start time of the sentence, in milliseconds from the start of the call.

Example460230
end
integer (int64)

The end time of the sentence, in milliseconds from the start of the call.

Example462343
text
string

The text of the sentence.

ExampleNo wait, I think we should check that out first.
400
  • The request body isn't valid JSON.
  • A required field is missing, or a value has the wrong type or format. The error message names the field.
  • cursor isn't valid or has expired. To start over, send the request without cursor.
  • filter.callIds and filter.workspaceId are both provided.
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.
  • A call in filter.callIds isn't found. The error message lists those call IDs.
  • Gong hasn't finished processing a call in filter.callIds. The error message lists those call IDs.
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