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

# Update an existing message template



## OpenAPI

````yaml /openapi.json patch /templates/{id}
openapi: 3.0.0
info:
  title: InteraOne API
  version: 1.0.0
  description: >-
    REST API for InteraOne authentication, organizations, support operations,
    channels, knowledge, AI coordination, and administration.
servers:
  - url: http://localhost:3002/api/v1
    description: Local development gateway
security: []
tags:
  - name: Authentication
    description: Signup, login, OTP, password recovery, refresh, logout, and profile.
  - name: Organizations
    description: Tenant lifecycle, switching, billing entitlements, and usage.
  - name: Memberships
    description: Invitations, members, roles, and membership status.
  - name: Agent
    description: Support-agent profile and presence.
  - name: Conversations
    description: Inbox, messages, routing, status, memory, handoff, and agent assist.
  - name: Contacts
    description: Customer profiles, notes, tags, and conflict resolution.
  - name: Tickets
    description: Ticket creation, assignment, updates, notes, replies, and AI operations.
  - name: Templates
    description: Saved support response templates.
  - name: Widget
    description: Widget configuration, public sessions, conversations, and QR scans.
  - name: Channels
    description: >-
      Email, WhatsApp, Telegram, provisioning, verification, and inbound
      webhooks.
  - name: Email
    description: Internal email sending and contact verification.
  - name: Knowledge
    description: >-
      Knowledge sources, uploads, indexing, reindexing, and unanswered
      questions.
  - name: Storage
    description: Presigned object upload/download and metadata operations.
  - name: Notifications
    description: Tenant and user notifications.
  - name: Analytics
    description: Organization, owner, and agent support metrics.
  - name: Observability
    description: AI call ingestion and aggregate performance data.
paths:
  /templates/{id}:
    patch:
      tags:
        - Templates
      summary: Update an existing message template
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                content:
                  type: string
                shortcut:
                  type: string
                category:
                  type: string
      responses:
        '200':
          description: Template updated successfully
        '400':
          description: Invalid input
        '401':
          description: Unauthorized
        '403':
          description: Forbidden - admin role required
        '404':
          description: Template not found
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````