POST
/
teams
/
{team_slug}
/
workspaces
curl --request POST \
  --url https://api.orgnise.in/teams/{team_slug}/workspaces \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Engineering Workspace",
  "description": "A workspace for the engineering team.",
  "visibility": "public",
  "defaultAccess": "full"
}'
{
  "_id": "<string>",
  "name": "<string>",
  "description": "",
  "defaultAccess": "full",
  "meta": {
    "title": "<string>",
    "description": "<string>",
    "slug": "<string>"
  },
  "Visibility": "<any>",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Authorizations

Authorization
string
header
required

Default authentication mechanism

Path Parameters

team_slug
string
required

The slug of the team.

Body

application/json

Create a new workspace. Workspaces are collections of projects and tasks. Workspaces can be private or public. Private workspaces are only visible to members of the workspace.

Response

200
application/json

The created workspace

A workspace is a collection of projects and tasks. Workspaces can be private or public. Private workspaces are only visible to members of the workspace.