Skip to content

List spaces

GET /space

To list both private and public resources, both of the floor:queryPublic and floor:queryPrivate scopes must be provided in the access token. If just one of the scopes is provided, then the query only returns resources that fall into that category. For example, a query with an access token that only has floor:queryPublic scope will only return public floors of the team.

Request

Query Parameters

floorId
string<uuid>
List all spaces within a Floor

assetId
string<uuid>
List spaces including in a specific asset

geometry
boolean
Whether to include `geometry` and `geometryOpenings` properties of the spaces in the results

includeCustomAttributes
boolean
Whether to include custom attributes on the resource in the result

limit
integer
Pagination support for large results

offset
integer
Pagination support for large results

Responses

200

The response will include a limited number of items per page. Iterate over the pages to fetch all items.

type
;values: FeatureCollection

features
array [ ]