List users by filter

Prev Next
Post
/v2/users/extensive

Returns the details of the Gong users that match the filter, including inactive users.

Each response contains up to 100 users, sorted by user ID. If there are more, the response includes records.cursor. To get the next 100, send it as cursor in your next request.

The response doesn't mark which users are avatars. To find them, compare the results with and without includeAvatars. Users that appear only when it's true are avatars.

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.

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

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 (MultipleUsersRequestWithCreationDates) Required

The filters to apply. Returns the users that match every filter you provide. To return all users, send an empty object.

createdFromDateTime
string

The start of the time range to return users from. Returns users created on or after this date and time. Must be earlier than createdToDateTime. Use ISO-8601 format, in UTC (Z) or with a timezone offset such as -07:00.

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

The end of the time range to return users from. Returns users created on or before this date and time. Use ISO-8601 format, in UTC (Z) or with a timezone offset such as -07:00.

Example2018-02-19T02:30:00-08:00
includeAvatars
boolean

Set to true to return avatars. Avatars are users that represent Gong employees, such as customer success managers and support staff, when they log in to your company's Gong account. Other endpoints can return avatar IDs, so include avatars if you need to look those IDs up.

Examplefalse
userIds
Array of string

The Gong user IDs of the users to return. To return all users, leave out userIds.

Unique itemstrue
Example[ "234599484848423" ]
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
users
Array of object (UserMetadata)

The users that match the request.

object

A user's details.

id
string

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

Example234599484848423
emailAddress
string

The email address of the user.

Exampletest@test.com
created
string

The date and time the user was created, in ISO-8601 format.

Example2018-02-17T02:30:00-08:00
active
boolean

Indicates whether the user is active.

Exampletrue
emailAliases
Array of string

The user's additional email addresses in Gong. Empty if the user has none. Learn more about additional email addresses.

Example[ "testAlias@test.com" ]
string
trustedEmailAddress
string

The user's trusted authentication email, for signing in from another Gong instance. Learn more about logging in to multiple Gong instances.

Exampletest@test.com
firstName
string

The first name of the user.

ExampleJon
lastName
string

The last name of the user.

ExampleSnow
title
string

The job title of the user.

ExampleEnterprise Account Executive
phoneNumber
string

The phone number of the user. If the user has no phone number, this field holds the user's cell phone number.

Example+1 123-567-8989
extension
string

The extension number of the user.

Example123
personalMeetingUrls
Array of string

The URLs of the user's personal meeting rooms in web conferencing systems.

Example[ "https://zoom.us/j/123" ]
string
settings
object (Settings)

The user's data capture settings: what Gong records and imports for the user.

webConferencesRecorded
boolean

Indicates whether Gong records the user's web conferences.

Exampletrue
preventWebConferenceRecording
boolean

Indicates whether Gong is prevented from recording web conferences the user is invited to, even when other participants are set to be recorded.

telephonyCallsImported
boolean

Indicates whether Gong imports the user's telephony calls.

emailsImported
boolean

Indicates whether Gong imports the user's emails.

Exampletrue
preventEmailImport
boolean

Indicates whether Gong is prevented from importing the user's emails.

nonRecordedMeetingsImported
boolean

Indicates whether Gong imports the user's calendar meetings that weren't recorded.

Exampletrue
gongConnectEnabled
boolean

Indicates whether Gong Dialer is turned on for the user.

Exampletrue
managerId
string

The Gong user ID of the user's manager.

Example563515258458745
meetingConsentPageUrl
string

The URL of the user's recording consent page. Returned when the consent page is turned on in the user's consent profile.

Examplehttps://join.gong.io/my-company/jon.snow?tkn=MoNpS9tMNt8BK7EZxQpSJl
conferencingProviders
Array of object (ConferencingProvider)

The web conferencing providers set up in the user's consent profile, and which one is the default. It doesn't show whether the user's connection to a provider still works. To check that, use POST /v2/meetings/integration/status.

object

A web conferencing provider configured in the user's consent profile

provider
string

The ID of the web conferencing provider, such as zoom, microsoftteams or googlemeet.

Examplezoom
isDefault
boolean

Indicates whether this is the user's default web conferencing provider.

spokenLanguages
Array of object (spokenLanguage)

The languages the user speaks in calls. primary marks the user's primary language.

object

Languages spoken during calls by the Gong user

language
string

The language, as a BCP-47 code.

Examplees-ES
primary
boolean

Indicates whether this is the user's primary language. Gong uses the primary language when it can't identify the language of a call, for example when the call is too short or the audio quality is poor.

Exampletrue
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.
  • filter.userIds is an empty list. To return all users, leave it out.
  • filter.createdFromDateTime isn't earlier than filter.createdToDateTime.
  • 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 users match the request.
  • A user in filter.userIds isn't found, or doesn't match the other filters. The error message lists the 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