List Spaces
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/spaces \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/spaces"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/spaces', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"name": "<string>",
"address": "<string>",
"object": "space",
"level": "<string>",
"page_count": 123,
"created_at": "<string>",
"updated_at": "<string>"
}
],
"object": "list"
}Spaces
List Spaces
List the spaces you can read, with their page counts.
GET
/
api
/
v1
/
spaces
List Spaces
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/spaces \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/spaces"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/spaces', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"name": "<string>",
"address": "<string>",
"object": "space",
"level": "<string>",
"page_count": 123,
"created_at": "<string>",
"updated_at": "<string>"
}
],
"object": "list"
}