Skip to main content
GET
/
api
/
v1
/
getSpace
/
{spaceId}
Retrieve details of a specific Space
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

Space retrieved successfully

id
string

The ID of the retrieved space

createdAt
string<date-time>
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

I