Skip to main content
SpacesVersion: 2021-04-15

Get All Spaces

GET/projects/spaces

Returns the location workspace (id, name) and every space the token can access. Marketplace example: bootstrap a Projects UI by listing spaces, then create a folder/list under one space.

Authorizations

Authorizationstringheaderrequired

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

Scope:projects/workspace.readonly
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Query Parameters

locationIdstring

Location id. Required for channel: APP. Ignored for OAuth/PIT — those use the location on the auth token. Do not send in path, body, or headers.

Example:ve9EPM428h8b87FE9C12Kg

Response

Workspace and spaces returned

workspaceobjectrequired

Location workspace

spacesobject[]required

Accessible spaces under the workspace