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

Example Request

{
  "workspaceName": "My Team Workspace",
  "workspaceEmails": [
    "teammate1@example.com",
    "teammate2@example.com"
  ]
}
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
workspaceEmails
string[]

Response

Successful response

success
boolean
required
message
string
required
data
any