Create a workspace
Creates a workspace. Only the name is required.
Note
You need to authenticate with your company admin key for this API call.
- Text
- PHP
- C#
- Java
- Python
- Ruby
- Javascript
- Go
POST https://api-{region}.seatsio.net/workspaces
$seatsioClient->workspaces->create("a workspace");
await Client.Workspaces.CreateAsync("a workspace);
client.workspaces.create("a workspace");
client.workspaces.create("a workspace")
client.workspaces.create name: "a workspace"
await client.workspaces.create('a workspace');
workspace, err := client.Workspaces.CreateTestWorkspace("a workspace")
workspace, err := client.Workspaces.CreateProductionWorkspace("a workspace")
{
"name": "a workspace",
"isTest": false
}
- name: the name of the workspace. Can be any string (including spaces or special characters)
- isTest: optional. Defaults to false.
curl -X POST https://api-{region}.seatsio.net/workspaces \
-u anAdminKey: -X POST -H 'Content-Type: application/json' -d '{"name": "a workspace"}'
{
"id": 169,
"name": "a workspace",
"key": "18725661-36d6-4755-905a-28ce82d0c2d5",
"secretKey": "7c647eed-0880-4118-9459-82757579703e",
"isDefault": true,
"isTest": false,
"isActive": true
}