List workspaces

Prev Next
Get
/v2/workspaces

Returns the company's workspaces, with each workspace's ID, name and description. Use the IDs in the workspaceId parameter of other endpoints, to limit their results to one workspace.

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

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
workspaces
Array of object (WorkspaceMetadata)

A list of the company's workspaces.

object

A workspace in the company.

id
string

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

Example623457276584334
name
string

The name of the workspace.

ExampleSome Workspace
description
string

The description of the workspace.

ExampleThis is one of our workspaces
400

Malformed 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
403
  • Not returned. When the API key or access token is missing or isn't valid, or the token doesn't have the scope this endpoint requires, the response is 401.
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