Skip to main content
POST
/
workspace
Create a workspace
curl --request POST \
  --url https://app.myhero.so/workspace \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "data": {
    "_id": "<string>",
    "name": "<string>",
    "isDefault": false,
    "isShared": false,
    "organizationId": "<string>",
    "ownerId": "<string>",
    "collaborators": [
      {
        "userId": "<string>"
      }
    ],
    "collaboratorTeams": [
      {
        "teamId": "<string>"
      }
    ],
    "createdAt": 123,
    "updatedAt": 123,
    "description": "<string>"
  }
}

Authorizations

Authorization
string
header
required

HERO personal access token

Body

application/json
name
string

Response

200 response

data
object
required