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

# Move tools and folders into a folder, or to the root

> Moves items of mixed types (woku, nps, csat, ces, folder) in one call. It is idempotent: moving items to where they already are succeeds. Nothing moves if one item is missing.



## OpenAPI

````yaml /openapi-v1.json post /v1/tools/move
openapi: 3.0.0
info:
  title: Woku Client API v1
  description: >-
    Public REST API for programmatic management of woku Voice-of-Customer
    programs: trackers, VoC instruments (NPS, woku, CES, CSAT), action plans,
    support tickets, multi-channel sending and response capture. Requests are
    company-scoped by the API key; never send a company id.
  version: 1.0.0
  contact:
    name: Woku
    url: https://woku.app
    email: team@woku.app
servers:
  - url: https://clientapi.woku.app
    description: Production
security: []
tags: []
paths:
  /v1/tools/move:
    post:
      tags:
        - v1 - tools
      summary: Move tools and folders into a folder, or to the root
      description: >-
        Moves items of mixed types (woku, nps, csat, ces, folder) in one call.
        It is idempotent: moving items to where they already are succeeds.
        Nothing moves if one item is missing.
      operationId: V1ToolsController_moveTools
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MoveToolItemsBodyDTO'
      responses:
        '200':
          description: Items moved
        '400':
          description: Invalid move (for example a folder into its own subtree)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponseDto'
        '404':
          description: Folder or item not found
      security:
        - bearer: []
components:
  schemas:
    MoveToolItemsBodyDTO:
      type: object
      properties:
        items:
          maxItems: 200
          type: array
          items:
            $ref: '#/components/schemas/MoveItemDTO'
        folderId:
          type: string
          format: ObjectId
          nullable: true
          description: Destination folder. `null` moves the items to the root.
      required:
        - items
        - folderId
    ValidationErrorResponseDto:
      type: object
      properties:
        statusCode:
          type: number
          description: HTTP status code
          example: 400
        message:
          description: Array of validation error messages
          example:
            - email must be a valid email
            - password must be at least 8 characters
          type: array
          items:
            type: string
        error:
          type: string
          description: Error type
          example: Bad Request
      required:
        - statusCode
        - message
        - error
    MoveItemDTO:
      type: object
      properties:
        type:
          type: string
          enum:
            - woku
            - nps
            - csat
            - ces
            - folder
        id:
          type: string
          format: ObjectId
      required:
        - type
        - id
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: API key
      type: http
      description: Company secret API key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.