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

# List Workspaces

> Returns all client workspaces for the authenticated agency. Agency plan required.

<Note>
  **Agency Plan Required** - This endpoint is only available for teams on the Agency plan.
</Note>

## Endpoint

```
GET https://api.kakiyo.com/v1/workspaces
```

## Response

```json theme={null}
{
  "workspaces": [
    {
      "id": "69724d900007cfde1d88",
      "name": "Acme Corporation",
      "clientTeamId": "69724d91000403019498",
      "createdAt": "2024-01-15T10:30:00.000Z"
    }
  ],
  "total": 1
}
```

## Example Request

```bash theme={null}
curl -X GET "https://api.kakiyo.com/v1/workspaces" \
  -H "Authorization: Bearer YOUR_API_KEY"
```


## OpenAPI

````yaml GET /workspaces
openapi: 3.1.0
info:
  title: Kakiyo API
  description: API for automating LinkedIn outreach campaigns with AI-powered conversations
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.kakiyo.com/v1
security:
  - bearerAuth: []
paths:
  /workspaces:
    get:
      tags:
        - Workspaces
      summary: List Workspaces
      description: >-
        Returns all client workspaces for the authenticated agency. Agency plan
        required.
      operationId: listWorkspaces
      responses:
        '200':
          description: List of workspaces
          content:
            application/json:
              schema:
                type: object
                properties:
                  workspaces:
                    type: array
                    items:
                      $ref: '#/components/schemas/Workspace'
                  total:
                    type: integer
                    example: 5
        '401':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Workspace:
      type: object
      description: A client workspace for agency management
      properties:
        id:
          type: string
          description: Unique workspace identifier
          example: workspace_abc123def456
        name:
          type: string
          description: Display name of the workspace
          example: Acme Corporation
        clientTeamId:
          type: string
          description: Internal team identifier for client member management
          example: team_xyz789abc123
        createdAt:
          type: string
          format: date-time
          description: Timestamp of workspace creation
          example: '2024-01-15T10:30:00.000Z'
    Error:
      type: object
      properties:
        error:
          type: string
          example: validation_error
        message:
          type: string
          example: The request parameters failed validation
        details:
          type: array
          items:
            type: object
            properties:
              field:
                type: string
                example: name
              message:
                type: string
                example: The name field is required
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````