GET
/
api
/
v1
/
listSpaces
List all Spaces for a user
curl --request GET \
  --url https://hero.page/api/v1/listSpaces \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "dateJoined": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Spaces retrieved successfully

id
string

The ID of the space

dateJoined
string<date-time>

The date when the space was joined