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>",
        "role": "owner"
      }
    ],
    "collaboratorTeams": [
      {
        "teamId": "<string>",
        "role": "owner"
      }
    ],
    "createdAt": 123,
    "updatedAt": 123,
    "description": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

Use this file to discover all available pages before exploring further.

Creates a new workspace under the authenticated user’s default organization. Subject to the organization’s plan limit on workspace count. Returns the created workspace on success.

Authorizations

Authorization
string
header
required

HERO personal access token

Body

application/json
name
string

Response

201 response

data
object
required