Skip to main content
POST
/
workspaces
Create a new workspace
curl --request POST \
  --url https://eu-gcp-api.vg-stuff.com/v3/workspaces \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspaceName": "<string>",
  "workspaceEmails": [
    "<string>"
  ]
}
'
{
  "success": true,
  "message": "<string>",
  "data": {}
}

Example Request

{
  "workspaceName": "My Team Workspace",
  "workspaceEmails": [
    "[email protected]",
    "[email protected]"
  ]
}
workspaceName is required. Team members added via workspaceEmails will receive an invitation.
Workspace limits depend on your subscription plan. Check your plan’s workspace seat allocation.

Authorizations

Authorization
string
header
required

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

Body

application/json
workspaceName
string
required

Display name for the workspace (required)

workspaceEmails
string[]

Email addresses of team members to invite

Response

Successful response

success
boolean
required

Indicates if the workspace was created successfully

message
string
required

Response message

data
object

Created workspace object