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

# Create a new workspace



## OpenAPI

````yaml post /v2/workspaces
openapi: 3.0.0
info:
  title: Topograph
  description: The Topograph API
  version: '0.1'
  contact: {}
servers:
  - url: https://api.topograph.co
security:
  - x-api-key: []
tags: []
paths:
  /v2/workspaces:
    post:
      tags:
        - Workspaces
      summary: Create a new workspace
      operationId: WorkspaceController_createWorkspace_v2
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWorkspaceDto'
      responses:
        '201':
          description: ''
      security:
        - x-api-key: []
components:
  schemas:
    CreateWorkspaceDto:
      type: object
      properties:
        name:
          type: string
          description: Workspace identifier — unique within the account.
          example: branch-paris
          pattern: ^[a-zA-Z0-9_-]+$
          maxLength: 64
        legalName:
          type: string
          description: Display-friendly legal name used in reporting and invoices.
          example: Acme Paris SAS
          maxLength: 255
      required:
        - name
        - legalName
  securitySchemes:
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key

````