Skip to main content
POST
/
v2
/
workspaces
Create Workspace
curl --request POST \
  --url https://api.squarecloud.app/v2/workspaces \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'

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

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.

Authorization
string
required
The API key for your account. You can find this in your account settings.
name
string
A string representing the name of the workspace.
Must adhere to the a to z, A to Z, 0 to 9, spaces and _ pattern. (1-32 characters)

Response

status
string
Indicates whether the call was successful.. success if successful, error if not.
response
object
The contents of the response.

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