Skip to main content
POST
/
api
/
workspaces.create
Create a new workspace
curl --request POST \
  --url https://your-instance.example.com/api/workspaces.create \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "name": "<string>",
  "website": "<string>",
  "timezone": "<string>",
  "currency": "<string>",
  "logo_url": "<string>",
  "settings": {
    "timescore_reference": 2,
    "bounce_threshold": 2,
    "geo_enabled": true,
    "geo_store_city": true,
    "geo_store_region": true,
    "geo_coordinates_precision": 1,
    "annotations": [
      {
        "id": "<string>",
        "date": "<string>",
        "time": "<string>",
        "timezone": "<string>",
        "title": "<string>",
        "description": "<string>",
        "color": "<string>"
      }
    ]
  }
}
'
{}

Body

application/json
id
string
required
Required string length: 2 - 50
name
string
required
website
string<uri>
required
timezone
string
required
currency
string
required
logo_url
string<uri>
settings
object

Response

201 - application/json

The response is of type object.