POST
/
v2
/
workspaces
curl --request POST \
  --url https://eu-vg-edge.moeaymandev.workers.dev/v2/workspaces \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "photoURL": "<string>",
  "workspaceName": "<string>",
  "workspaceEmails": [
    "<string>"
  ],
  "workspacePhotoURL": "<string>",
  "workspaceSecret": "<string>"
}'
{
  "success": true,
  "message": "Workspace created successfully"
}

Authorizations

Authorization
string
header
required

Workspace secret API key, found in the workspace settings page (top left).

Body

application/json

Workspace to create

The body is of type object.

Response

200
application/json

Workspace created/edit succesfully

The response is of type object.