> ## 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.

# Rename or recolor a folder



## OpenAPI

````yaml /openapi-v1.json patch /v1/folders/{id}
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/folders/{id}:
    patch:
      tags:
        - v1 - folders
      summary: Rename or recolor a folder
      operationId: V1FoldersController_updateFolder
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
            format: ObjectId
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateFolderBodyDTO'
      responses:
        '200':
          description: Folder updated
        '404':
          description: Folder not found
      security:
        - bearer: []
components:
  schemas:
    UpdateFolderBodyDTO:
      type: object
      properties:
        name:
          type: string
          minLength: 2
          maxLength: 30
        color:
          type: string
          nullable: true
          example: '#3498db'
          description: Hex color, or null to clear it.
        whatsappAlertRecipients:
          description: >-
            Replaces the WhatsApp numbers alerted when a comment of any tool in
            this folder is an improvement (wokus, NPS, CSAT, CES). Send [] to
            clear.
          type: array
          items:
            $ref: '#/components/schemas/WhatsappAlertRecipientDTO'
    WhatsappAlertRecipientDTO:
      type: object
      properties:
        whatsappId:
          type: string
          example: '56912345678'
          description: E.164 phone number without the leading +.
        name:
          type: string
          example: Ana (support)
          maxLength: 60
        sources:
          type: array
          description: Kinds of comment that alert this number. Defaults to all four.
          items:
            type: string
            enum:
              - woku
              - nps
              - csat
              - ces
      required:
        - whatsappId
        - name
  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.