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

# Create a workspace

> Creates a workspace with a unique slug derived from the name and a default test template. Super-admin only. Empty name refuses with a flash. The creator is not added as a member by this code.

**Minimum role:** `superadmin` (`x-min-role`). **Destructive:** `false` (`x-destructive`).



## OpenAPI

````yaml /openapi.json post /workspaces/new
openapi: 3.0.3
info:
  title: Sales Sequencer API
  version: '1'
  description: >-
    Every Sales Sequencer action over HTTP. Each call runs as the API key's
    creator, with that user's role, in the key's workspace. Auth: X-API-Key
    header.
servers:
  - url: https://api.salessequencer.com/api/v1
security:
  - key: []
paths:
  /workspaces/new:
    post:
      tags:
        - Team & workspaces
      summary: Create a workspace
      description: >-
        Creates a workspace with a unique slug derived from the name and a
        default test template. Super-admin only. Empty name refuses with a
        flash. The creator is not added as a member by this code.


        **Minimum role:** `superadmin` (`x-min-role`). **Destructive:** `false`
        (`x-destructive`).
      operationId: workspaces_new_workspace
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              properties:
                name:
                  description: Workspace name.
                  type: string
              required:
                - name
              type: object
      responses:
        '200':
          description: Redirect to the new workspace's team page (new id in the URL).
components:
  securitySchemes:
    key:
      in: header
      name: X-API-Key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.