List spaces
Returns all spaces for an account or environment
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
X-Disable-Hooks
Query parameters
environmentId
The ID of the environment.
pageSize
Number of spaces to return in a page (default 10)
pageNumber
Based on pageSize, which page of records to return
app
Filter by appId
search
Search query for spaces
namespace
Search by namespace
archived
Flag to include archived spaces
sortField
Field to sort spaces by; requires sortDirection
if provided.
sortDirection
Direction of sorting; requires sortField
if provided.
Allowed values:
isCollaborative
Flag for collaborative (project) spaces
appIdDeprecated
(Deprecated!) Use app
query parameter
isAppTemplate
Flag for app templates
Response
This endpoint returns an object.
data
pagination
pagination info