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

# Crea workspace

> Crea un nuovo workspace nel tuo account Square Cloud.

<ParamField header="Authorization" type="string" placeholder="API Key" required>
  La chiave API del tuo account. Puoi trovarla nelle [impostazioni del tuo account](https://squarecloud.app/it/account/security).
</ParamField>

### Parametri

<ParamField body="name" type="string" placeholder="Workspace name">
  Una stringa che rappresenta il nome del workspace. <br />Deve rispettare il pattern a-z, A-Z, 0-9, spazi e \_. (1-32 caratteri)
</ParamField>

### Risposta

<ResponseField name="status" type="string">
  Indica se la chiamata è andata a buon fine. `success` in caso di successo, `error` in caso contrario.
</ResponseField>

<ResponseField name="response" type="object">
  Il contenuto della risposta.

  <Expandable title="Toggle object">
    <ResponseField name="id" type="string">
      L'ID del workspace.
    </ResponseField>

    <ResponseField name="name" type="string">
      Il nome del workspace.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json theme={null}

  {
      "status": "success",
      "response": {
          "id": "dcedcd13d7e272a7b32a70f6a1d180f23c12d759",
          "name": "Test"
      }
  }

  ```
</ResponseExample>
