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

# Update canned response

> Updates an existing canned response.

The `text` field is sanitized on update. If sanitization removes all content and the input becomes empty, the system rejects the request as invalid.

**Required scopes:** `canned_responses--groups:rw`, <Tooltip tip="Required to update canned responses in any group.">`canned_responses--all:rw`</Tooltip>


## OpenAPI

````yaml /api/configuration/v3.7/openapi.json post /action/update_canned_response
openapi: 3.1.0
info:
  title: Configuration API
  version: v3.7
servers:
  - url: https://api.livechatinc.com/v3.7/configuration
security:
  - PersonalAccessToken: []
  - OAuth2BearerToken: []
paths:
  /action/update_canned_response:
    post:
      tags:
        - Canned responses
      summary: Update canned response
      description: >-
        Updates an existing canned response.


        The `text` field is sanitized on update. If sanitization removes all
        content and the input becomes empty, the system rejects the request as
        invalid.
      operationId: update-canned-response
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCannedResponseRequest'
            example:
              id: 12345
              text: Thank you for contacting us! How may I assist you today?
              tags:
                - greeting
                - support
                - updated
              is_private: true
      responses:
        '200':
          description: Canned response updated successfully.
components:
  schemas:
    UpdateCannedResponseRequest:
      type: object
      required:
        - id
      properties:
        id:
          type: integer
          description: The ID of the canned response to update.
        text:
          type: string
          description: >-
            The new canned response text. Sanitized on update — if sanitization
            removes all content, the request is rejected as invalid.
        tags:
          type: array
          items:
            type: string
          description: An array of tags.
        group_id:
          type: integer
          description: The new group ID for the canned response.
        is_private:
          type: boolean
          description: >-
            If set to `true`: the canned response will be private. If set to
            `false`: it will be public.
  securitySchemes:
    PersonalAccessToken:
      type: http
      scheme: basic
      description: >-
        Use your `account ID` as the username and your personal access token
        (PAT) as the password, or pass a Base64-encoded value directly in the
        Authorization header. For more information, see the <a
        href="/authentication/personal-access-tokens">personal access tokens
        guide</a>.
    OAuth2BearerToken:
      type: http
      scheme: bearer
      description: Authenticate using an OAuth 2.0 Bearer token.
      x-example: us-south1:MQraNrGCsoJvtxD7KNJQB1kM3d5

````