# Create Workspace

Canonical URL: https://sosoapi.ai/docs/mcp/create-workspace

`sosoapi_create_workspace`

Create a Workspace in an Organization you own or administer. Pass organization_id when you belong to multiple Organizations. Use the returned id for your next calls: do not assume the new Workspace becomes the active one.

## Profiles and transports

Profiles: full

Transports: stdio, http

Choose core or full to control which tools your client sees; this does not change its permissions. Local file upload requires stdio and is unavailable over HTTP. Set SOSOAPI_OUTPUT_SCHEMAS=1 to include output schemas in discovery. Tools return structured results with or without that setting.

## Permissions and side effects

Annotations help clients describe a tool. Each call still checks the user’s authentication, role, resource access and capability grants.

```json
{
  "readOnlyHint": false,
  "destructiveHint": false,
  "idempotentHint": false,
  "openWorldHint": false
}
```

`/identity-api/workspace/create` — agent:operate; synchronous_http_response

## Input fields

```json
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "organization_id": {
      "type": "string",
      "format": "uuid"
    },
    "idempotency_key": {
      "description": "Optional. Reuse the same key to retry safely: a retry returns the original result instead of acting twice.",
      "type": "string",
      "minLength": 8,
      "maxLength": 160,
      "pattern": "^[!-~]+$"
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false
}
```

## Structured output

This schema describes structuredContent in a successful tool result. The MCP response also includes content and may set isError when a call fails. For publishing, read the post’s final result rather than treating an accepted request or text response as confirmation. The linked API operation explains permissions and retry rules.

```json
{
  "type": "object",
  "properties": {
    "workspace": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "organization_id": {
          "type": "string",
          "format": "uuid"
        },
        "slug": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "created_at": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "organization_id",
        "slug",
        "name",
        "created_at"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "workspace"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
```

## Example tool call

These examples use fictional values checked against the schemas. Replace the IDs with ones you are authorized to use, the media with ready assets and the dates with your confirmed publishing time. Check the account’s eligibility before submitting a write. This page sends no API requests.

```json
{
  "name": "sosoapi_create_workspace",
  "arguments": {
    "name": "example"
  }
}
```

structuredContent

```json
{
  "workspace": {
    "id": "11111111-1111-4111-8111-111111111111",
    "organization_id": "11111111-1111-4111-8111-111111111111",
    "slug": "example",
    "name": "example",
    "created_at": "example"
  }
}
```

## Underlying API operations

- [/identity-api/workspace/create](https://sosoapi.ai/docs/api/identity-api-workspace-create)
