Skip to main content
GET
/
api
/
v1
/
user
/
team
/
spaces
List Available Spaces Package Alias
curl --request GET \
  --url https://api.hevn.finance/api/v1/user/team/spaces \
  --header 'Authorization: Bearer <token>'
{
  "spaces": [
    {
      "spaceId": "<string>",
      "email": "<string>",
      "role": "<string>",
      "name": "<string>",
      "lastLogin": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
default:Bearer <token>
required

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

Response

200 - application/json

Successful Response

List of team spaces available to the current user.

spaces
AvailableSpaceResponse · object[]
required