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
id
string

The ID of the retrieved space

createdAt
string
img
string

Image URL for the space

name
string

The name of the space

slug
string

The slug of the space

isOwner
boolean

Whether the user is the owner of the space