GET
/
space
curl --request GET \
  --url https://app.teable.io/api/space \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
[
  {
    "id": "<string>",
    "name": "<string>",
    "role": "owner",
    "organization": {
      "id": "<string>",
      "name": "<string>"
    }
  }
]

Authorizations

Authorization
string
header
required

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

Response

200 - application/json
Returns the list of space.
id
string
required
name
string
required
role
enum<string>
required
Available options:
owner,
creator,
editor,
commenter,
viewer
organization
object