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

# Modify message

> Modifies an existing message.



## OpenAPI

````yaml PATCH /v1/threads/{thread_id}/messages/{message_id}
openapi: 3.0.0
info:
  title: ZeroBot API
  version: 1.0.0
  description: API reference for ZeroBot
servers:
  - url: https://api.zerobot.ai
security: []
paths:
  /v1/threads/{thread_id}/messages/{message_id}:
    patch:
      summary: Modify a message
      description: Modifies an existing message.
      parameters:
        - name: thread_id
          description: The ID of the thread to which this message belongs.
          in: path
          required: true
          schema:
            type: string
        - name: message_id
          description: The ID of the message to modify.
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                content:
                  type: string
                  description: The updated content of the message.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: object
                    description: The modified message object.

````