Get all spaces an account has access to

Authentication

AuthorizationBearer

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

Headers

X-Contentful-OrganizationstringOptional
Scope the listing to a specific organization. When omitted, spaces from all organizations the account has access to are returned.

Query parameters

skipintegerOptional

Number of resources to skip (offset pagination).

limitintegerOptional
Maximum number of resources to return.
orderstringOptional

Sort order, e.g. sys.createdAt or -sys.createdAt.

cursorbooleanOptional

When true, switches the response to cursor-based pagination. The response includes a pages object with next and prev URLs instead of skip/limit.

pageNextstringOptional

Cursor token for the next page. Use the value from pages.next in a previous cursor-paginated response.

pagePrevstringOptional

Cursor token for the previous page. Use the value from pages.prev in a previous cursor-paginated response.

querystringOptional
Search spaces by exact space ID match or partial name match.
typestringOptional
Filter by space type.

Response headers

Content-Typestring

Content-Type

Response

OK - Request successful