Skip to main content
GET
/
workspaces
Get all workspaces
curl --request GET \
  --url https://eu-gcp-api.vg-stuff.com/v3/workspaces \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "data": [
    {
      "uid": "<string>",
      "workspaceName": "<string>",
      "workspaceEmails": "<array>"
    }
  ]
}
Returns all workspaces where you are either the owner or a team member.
Use this endpoint to list available workspaces before switching context or managing team members.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successful response

success
boolean

Indicates if the request was successful

message
string

Response message

data
object[]

Array of workspace objects