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

# Workspaces

API operations for workspaces. Browse the routes below for parameters, request examples, and responses.

API version: Selected per operation

## List workspaces

Returns every workspace in the account. A workspace is the container that groups projects and the people who work on them. The call takes no paging parameters, so one request yields the whole set.

### Endpoint

```http
GET /v1/stable/workspace
```

Server: https://realtime-api.voiceflow.com

### Authentication

```json
[
  {
    "token": []
  }
]
```

`token`:

```json
{
  "scheme": "bearer",
  "bearerFormat": "JWT",
  "type": "http",
  "description": "Voiceflow bearer token"
}
```

### Responses

#### 200

Returns every workspace the authenticated account belongs to, each with its ID, name, image URL, and the organization it sits under.

Schema:

```json
{
  "$ref": "#/components/schemas/StableWorkspaceListResponse"
}
```

Example:

```json
{
  "workspaces": [
    {
      "id": "<string>",
      "name": "<string>",
      "image": "<string>",
      "createdAt": "2026-09-10T00:00:00.000Z",
      "updatedAt": "2026-09-10T00:00:00.000Z",
      "organizationID": "<string>"
    }
  ]
}
```

### Request examples

#### cURL

```bash
curl --request GET \
  --url 'https://realtime-api.voiceflow.com/v1/stable/workspace' \
  --header 'Authorization: Bearer <token>'
```

#### JavaScript

```javascript
const response = await fetch('https://realtime-api.voiceflow.com/v1/stable/workspace', {
  method: 'GET',
  headers: {
    Authorization: 'Bearer <token>',
  },
});
const data = await response.json();
```

#### Python

```python
import requests

response = requests.get(
    'https://realtime-api.voiceflow.com/v1/stable/workspace',
    headers={'Authorization': 'Bearer <token>'},
)
data = response.json()
```

#### Voiceflow CLI

```bash
vf workspace list
```


## Create workspace

Adds a workspace to the account, the container that groups projects and the people who work on them. The response carries the ID that later calls address it by.

### Endpoint

```http
POST /v1/stable/workspace
```

Server: https://realtime-api.voiceflow.com

### Authentication

```json
[
  {
    "token": []
  }
]
```

`token`:

```json
{
  "scheme": "bearer",
  "bearerFormat": "JWT",
  "type": "http",
  "description": "Voiceflow bearer token"
}
```

### Request body

Required

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/StableWorkspaceCreateRequest"
      }
    }
  }
}
```

### Responses

#### 201

Creates the workspace and returns it, including the generated ID that later calls pass as workspaceID.

Schema:

```json
{
  "$ref": "#/components/schemas/StableWorkspaceResponse"
}
```

Example:

```json
{
  "workspace": {
    "id": "<string>",
    "name": "<string>",
    "image": "<string>",
    "createdAt": "2026-09-10T00:00:00.000Z",
    "updatedAt": "2026-09-10T00:00:00.000Z",
    "organizationID": "<string>"
  }
}
```

### Request examples

#### cURL

```bash
curl --request POST \
  --url 'https://realtime-api.voiceflow.com/v1/stable/workspace' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "organizationID": "<string>"
}'
```

#### JavaScript

```javascript
const response = await fetch('https://realtime-api.voiceflow.com/v1/stable/workspace', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer <token>',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "name": "<string>",
    "organizationID": "<string>"
  }),
});
const data = await response.json();
```

#### Python

```python
import requests

response = requests.post(
    'https://realtime-api.voiceflow.com/v1/stable/workspace',
    headers={'Authorization': 'Bearer <token>'},
    json={
      "name": "<string>",
      "organizationID": "<string>"
    },
)
data = response.json()
```

#### Voiceflow CLI

```bash
vf workspace create <<'JSON'
{
  "name": "<string>",
  "organizationID": "<string>"
}
JSON
```


## Get workspace

Returns a single workspace by ID, with the fields that define it. A workspace is the container that groups projects and the people who work on them.

### Endpoint

```http
GET /v1/stable/workspace/{workspaceID}
```

Server: https://realtime-api.voiceflow.com

### Authentication

```json
[
  {
    "token": []
  }
]
```

`token`:

```json
{
  "scheme": "bearer",
  "bearerFormat": "JWT",
  "type": "http",
  "description": "Voiceflow bearer token"
}
```

### Path parameters

#### `workspaceID`

Required · string

The ID of the workspace to operate on.

```json
{
  "type": "string"
}
```

### Responses

#### 200

Returns the one workspace, with its name, image URL, the organization it belongs to, and its creation and update timestamps.

Schema:

```json
{
  "$ref": "#/components/schemas/StableWorkspaceResponse"
}
```

Example:

```json
{
  "workspace": {
    "id": "<string>",
    "name": "<string>",
    "image": "<string>",
    "createdAt": "2026-09-10T00:00:00.000Z",
    "updatedAt": "2026-09-10T00:00:00.000Z",
    "organizationID": "<string>"
  }
}
```

### Request examples

#### cURL

```bash
curl --request GET \
  --url 'https://realtime-api.voiceflow.com/v1/stable/workspace/<workspaceID>' \
  --header 'Authorization: Bearer <token>'
```

#### JavaScript

```javascript
const response = await fetch('https://realtime-api.voiceflow.com/v1/stable/workspace/<workspaceID>', {
  method: 'GET',
  headers: {
    Authorization: 'Bearer <token>',
  },
});
const data = await response.json();
```

#### Python

```python
import requests

response = requests.get(
    'https://realtime-api.voiceflow.com/v1/stable/workspace/<workspaceID>',
    headers={'Authorization': 'Bearer <token>'},
)
data = response.json()
```

#### Voiceflow CLI

```bash
vf workspace get --workspace-id <workspaceID>
```


## Update workspace

Changes an existing workspace in place. The response carries only a confirmation message, so refetch the workspace to read its new values.

### Endpoint

```http
PATCH /v1/stable/workspace/{workspaceID}
```

Server: https://realtime-api.voiceflow.com

### Authentication

```json
[
  {
    "token": []
  }
]
```

`token`:

```json
{
  "scheme": "bearer",
  "bearerFormat": "JWT",
  "type": "http",
  "description": "Voiceflow bearer token"
}
```

### Path parameters

#### `workspaceID`

Required · string

The ID of the workspace to operate on.

```json
{
  "type": "string"
}
```

### Request body

Required

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "allOf": [
          {
            "$ref": "#/components/schemas/StableWorkspaceUpdateRequest"
          }
        ]
      }
    }
  }
}
```

### Responses

#### 200

Confirms the workspace was updated. The body is a message, not the updated workspace, so refetch it to read the new values.

Schema:

```json
{
  "$ref": "#/components/schemas/StableUpdateResponse"
}
```

Example:

```json
{
  "message": "<string>"
}
```

### Request examples

#### cURL

```bash
curl --request PATCH \
  --url 'https://realtime-api.voiceflow.com/v1/stable/workspace/<workspaceID>' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
```

#### JavaScript

```javascript
const response = await fetch('https://realtime-api.voiceflow.com/v1/stable/workspace/<workspaceID>', {
  method: 'PATCH',
  headers: {
    Authorization: 'Bearer <token>',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "name": "<string>"
  }),
});
const data = await response.json();
```

#### Python

```python
import requests

response = requests.patch(
    'https://realtime-api.voiceflow.com/v1/stable/workspace/<workspaceID>',
    headers={'Authorization': 'Bearer <token>'},
    json={
      "name": "<string>"
    },
)
data = response.json()
```

#### Voiceflow CLI

```bash
vf workspace update --workspace-id <workspaceID> <<'JSON'
{
  "name": "<string>"
}
JSON
```


## Delete workspace

Deletes a single workspace by ID. A workspace is the container that groups projects and the people who work on them. The response carries only a confirmation message, so refetch the workspaces to see what is left.

### Endpoint

```http
DELETE /v1/stable/workspace/{workspaceID}
```

Server: https://realtime-api.voiceflow.com

### Authentication

```json
[
  {
    "token": []
  }
]
```

`token`:

```json
{
  "scheme": "bearer",
  "bearerFormat": "JWT",
  "type": "http",
  "description": "Voiceflow bearer token"
}
```

### Path parameters

#### `workspaceID`

Required · string

The ID of the workspace to operate on.

```json
{
  "type": "string"
}
```

### Responses

#### 200

Confirms the workspace was deleted. Only a message comes back, so list workspaces again to see what remains.

Schema:

```json
{
  "$ref": "#/components/schemas/StableDeleteResponse"
}
```

Example:

```json
{
  "message": "<string>"
}
```

### Request examples

#### cURL

```bash
curl --request DELETE \
  --url 'https://realtime-api.voiceflow.com/v1/stable/workspace/<workspaceID>' \
  --header 'Authorization: Bearer <token>'
```

#### JavaScript

```javascript
const response = await fetch('https://realtime-api.voiceflow.com/v1/stable/workspace/<workspaceID>', {
  method: 'DELETE',
  headers: {
    Authorization: 'Bearer <token>',
  },
});
const data = await response.json();
```

#### Python

```python
import requests

response = requests.delete(
    'https://realtime-api.voiceflow.com/v1/stable/workspace/<workspaceID>',
    headers={'Authorization': 'Bearer <token>'},
)
data = response.json()
```

#### Voiceflow CLI

```bash
vf workspace delete --workspace-id <workspaceID>
```


## Schema definitions

### StableDeleteResponse

```json
{
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "A human-readable message confirming the deletion."
    }
  },
  "required": [
    "message"
  ]
}
```

### StableUpdateResponse

```json
{
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "A human-readable message confirming the update."
    }
  },
  "required": [
    "message"
  ]
}
```

### StableWorkspace

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "image": {
      "nullable": true,
      "description": "The URL of the workspace image.",
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
    },
    "organizationID": {
      "type": "string",
      "description": "The ID of the organization the workspace belongs to."
    }
  },
  "required": [
    "id",
    "name",
    "image",
    "createdAt",
    "updatedAt",
    "organizationID"
  ]
}
```

### StableWorkspaceCreateRequest

```json
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "organizationID": {
      "type": "string",
      "description": "The ID of the organization the workspace belongs to."
    }
  },
  "required": [
    "name",
    "organizationID"
  ],
  "additionalProperties": false
}
```

### StableWorkspaceListResponse

```json
{
  "type": "object",
  "properties": {
    "workspaces": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/StableWorkspace"
      }
    }
  },
  "required": [
    "workspaces"
  ]
}
```

### StableWorkspaceResponse

```json
{
  "type": "object",
  "properties": {
    "workspace": {
      "$ref": "#/components/schemas/StableWorkspace"
    }
  },
  "required": [
    "workspace"
  ]
}
```

### StableWorkspaceUpdateRequest

```json
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
```
