> ## Documentation Index
> Fetch the complete documentation index at: https://developers.notion.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List workspaces in the organization

> List the workspaces your organization owns.

The organization bot token must have the following scopes:

* `workspace:read`

Returns the live workspaces owned by your organization, ordered by ID. Each result includes the workspace `id` and `name`. Use the `id` as the `space_id` path parameter in workspace-scoped endpoints, such as [List users](https://developers.notion.com/reference/admin/list-users.md).

Deleted workspaces and workspaces outside your organization aren't included. Use `page_size` and `start_cursor` to page through results.


## OpenAPI

````yaml openapi-adminApi.json GET /v1/spaces
openapi: 3.1.0
info:
  title: Notion Admin API
  version: 1.0.0
  termsOfService: >-
    https://notion.notion.site/Terms-and-Privacy-28ffdd083dc3473e9c2da6ec011b58ac
servers:
  - url: https://api.notion.com/admin
security:
  - bearerAuth: []
tags:
  - name: Exports
    description: Workspace export endpoints
  - name: Legal holds
    description: Legal hold endpoints
  - name: Managed users
    description: Managed user endpoints
paths:
  /v1/spaces:
    get:
      tags:
        - Admin API
      summary: List workspaces in the organization
      operationId: list-spaces
      parameters:
        - $ref: '#/components/parameters/notionVersion'
        - name: start_cursor
          in: query
          schema:
            type: string
            minLength: 1
            description: Opaque continuation cursor from the previous page.
        - name: page_size
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            description: Number of workspaces per page (1–100; default 100).
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    const: list
                    description: Always `list`
                  type:
                    type: string
                    const: space
                    description: Always `space`
                  space:
                    $ref: '#/components/schemas/emptyObject'
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        object:
                          type: string
                          const: space
                          description: Always `space`
                        id:
                          type: string
                          format: uuid
                          description: The workspace ID.
                        name:
                          oneOf:
                            - type: string
                            - type: 'null'
                          description: The workspace name, or null when it has none.
                      additionalProperties: false
                      required:
                        - object
                        - id
                        - name
                    maxItems: 100
                    description: >-
                      Live workspaces owned by the organization on this page,
                      ordered by ID.
                  has_more:
                    type: boolean
                    description: Whether another page of workspaces is available.
                  next_cursor:
                    oneOf:
                      - type: string
                      - type: 'null'
                    description: >-
                      Opaque continuation cursor for the next page, or null when
                      has_more is false.
                additionalProperties: false
                required:
                  - object
                  - type
                  - space
                  - results
                  - has_more
                  - next_cursor
        '400':
          $ref: '#/components/responses/adminApiPublicError400'
        '401':
          $ref: '#/components/responses/adminApiPublicError401'
        '403':
          $ref: '#/components/responses/adminApiPublicError403'
        '404':
          $ref: '#/components/responses/adminApiPublicError404'
        '409':
          $ref: '#/components/responses/adminApiPublicError409'
        '429':
          $ref: '#/components/responses/adminApiPublicError429'
        '500':
          $ref: '#/components/responses/adminApiPublicError500'
        '503':
          $ref: '#/components/responses/adminApiPublicError503'
components:
  parameters:
    notionVersion:
      name: Notion-Version
      in: header
      required: true
      schema:
        enum:
          - '2026-06-01'
      description: The Admin API version to use for this request.
  schemas:
    emptyObject:
      type: object
      properties: {}
      additionalProperties: false
    adminApiPublicError400:
      type: object
      properties:
        object:
          enum:
            - error
        code:
          enum:
            - validation_error
        status:
          enum:
            - 400
        message:
          type: string
        additional_data:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
      required:
        - object
        - code
        - status
        - message
      additionalProperties: false
    adminApiPublicError401:
      type: object
      properties:
        object:
          enum:
            - error
        code:
          enum:
            - unauthorized
        status:
          enum:
            - 401
        message:
          type: string
        additional_data:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
      required:
        - object
        - code
        - status
        - message
      additionalProperties: false
    adminApiPublicError403:
      type: object
      properties:
        object:
          enum:
            - error
        code:
          enum:
            - restricted_resource
        status:
          enum:
            - 403
        message:
          type: string
        additional_data:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
      required:
        - object
        - code
        - status
        - message
      additionalProperties: false
    adminApiPublicError404:
      type: object
      properties:
        object:
          enum:
            - error
        code:
          enum:
            - object_not_found
        status:
          enum:
            - 404
        message:
          type: string
        additional_data:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
      required:
        - object
        - code
        - status
        - message
      additionalProperties: false
    adminApiPublicError409:
      type: object
      properties:
        object:
          enum:
            - error
        code:
          enum:
            - conflict_error
        status:
          enum:
            - 409
        message:
          type: string
        additional_data:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
      required:
        - object
        - code
        - status
        - message
      additionalProperties: false
    adminApiPublicError429:
      type: object
      properties:
        object:
          enum:
            - error
        code:
          enum:
            - rate_limited
        status:
          enum:
            - 429
        message:
          type: string
        additional_data:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
      required:
        - object
        - code
        - status
        - message
      additionalProperties: false
    adminApiPublicError500:
      type: object
      properties:
        object:
          enum:
            - error
        code:
          enum:
            - internal_server_error
        status:
          enum:
            - 500
        message:
          type: string
        additional_data:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
      required:
        - object
        - code
        - status
        - message
      additionalProperties: false
    adminApiPublicError503:
      type: object
      properties:
        object:
          enum:
            - error
        code:
          enum:
            - service_unavailable
        status:
          enum:
            - 503
        message:
          type: string
        additional_data:
          type: object
          additionalProperties:
            oneOf:
              - type: string
              - type: array
                items:
                  type: string
      required:
        - object
        - code
        - status
        - message
      additionalProperties: false
  responses:
    adminApiPublicError400:
      description: The request body, path parameters, or query parameters are invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/adminApiPublicError400'
          example:
            object: error
            code: validation_error
            status: 400
            message: The request body is invalid.
    adminApiPublicError401:
      description: The request is missing a valid bearer token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/adminApiPublicError401'
          example:
            object: error
            code: unauthorized
            status: 401
            message: Unauthorized.
    adminApiPublicError403:
      description: >-
        The authenticated bot does not have access to the requested resource or
        scope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/adminApiPublicError403'
          example:
            object: error
            code: restricted_resource
            status: 403
            message: Forbidden.
    adminApiPublicError404:
      description: The requested resource could not be found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/adminApiPublicError404'
          example:
            object: error
            code: object_not_found
            status: 404
            message: Not found.
    adminApiPublicError409:
      description: The request conflicts with the current state of the resource.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/adminApiPublicError409'
          example:
            object: error
            code: conflict_error
            status: 409
            message: The request conflicts with the current resource state.
    adminApiPublicError429:
      description: The request was rate limited.
      headers:
        retry-after:
          description: Seconds to wait before retrying the request.
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/adminApiPublicError429'
          example:
            object: error
            code: rate_limited
            status: 429
            message: Rate limited.
    adminApiPublicError500:
      description: An unexpected server error occurred.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/adminApiPublicError500'
          example:
            object: error
            code: internal_server_error
            status: 500
            message: An unexpected error occurred.
    adminApiPublicError503:
      description: A required service is temporarily unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/adminApiPublicError503'
          example:
            object: error
            code: service_unavailable
            status: 503
            message: Service temporarily unavailable.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````