Skip to main content
GET
/
workspace
/
all
/
{orgId}
List workspaces in an organization
curl --request GET \
  --url https://app.myhero.so/workspace/all/{orgId} \
  --header 'Authorization: Bearer <token>'
{
  "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.

Returns all workspaces the authenticated user belongs to within the specified orgId.

Authorizations

Authorization
string
header
required

HERO personal access token

Path Parameters

orgId
string
required
Minimum string length: 1

Response

200 - application/json

200 response

data
object[]
required