GET
/
api
/
v1
/
getSpace
/
{spaceId}
curl --request GET \
  --url https://hero.page/api/v1/getSpace/{spaceId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "img": "<string>",
  "name": "<string>",
  "slug": "<string>",
  "isOwner": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

spaceId
string
required

The ID of the space

Response

200
application/json

Space retrieved successfully

The response is of type object.