List calls in a folder

Prev Next
Get
/v2/library/folder-content

Returns the calls saved in a library folder, with the folder's name, creator and last modified time. Send the folder's ID, from GET /v2/library/folders.

The calls are listed in the order they appear in the folder in Gong. When a user saved part of a call to the folder, not the whole call, the response gives the start and end of that part in the call's snippet.

The response doesn't include the calls in streams inside the folder. For a folder that holds only streams, the calls list is empty.

To get the calls' participants, content or transcripts, send their IDs to POST /v2/calls/extensive or POST /v2/calls/transcript.

Required authorization scope: 'api:library:read'.

Query parameters
folderId
string

The Gong ID of the folder to return calls from. Up to 20 digits. Use GET /v2/library/folders to look up folder IDs.

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
id
string

The Gong ID of the folder.

Example3843152912968920037
name
string

The name of the folder.

ExampleSales Onboarding
createdBy
string

The Gong user ID of the user who created the folder.

Example234599484848423
updated
string (date-time)

The date and time the folder was last modified, in ISO-8601 format, in the company's time zone.

Example2020-03-14T05:30:00-08:00
calls
Array of object (LibraryCall)

The calls in the folder, in the order they appear in the folder in Gong.

object

A call in the folder.

id
string

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

Example7782342274025937895
title
string

The title of the call.

ExampleExample call
note
string

The note a user added to the call in the folder.

Examplesample note
addedBy
string

The Gong user ID of the user who added the call to the folder.

Example234599484848423
created
string (date-time)

The date and time the call was added to the folder, in ISO-8601 format.

Example2020-01-12T14:30:00-08:00
url
string

The URL of the call in Gong. When a user saved part of the call to the folder, the URL opens the call at that part.

Examplehttps://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
object (Snippet)

The part of the call that a user saved to the folder.

fromSec
integer (int32)

The start of the saved part, in seconds from the start of the call.

Example21
toSec
integer (int32)

The end of the saved part, in seconds from the start of the call.

Example132
400
  • The request doesn't include a folder ID, or the ID in folderId isn't a number.
  • No folder in the company has the ID in folderId.
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 folders found for the specified period

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