---
updatedAt: 2026-07-01T21:23:16.000Z
agentTools:
  projectIndex: https://developer.clickup.com/llms.txt
---

# Update a message

This endpoint updates a message.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "ClickUp Public API v3",
    "version": "version",
    "description": "This API is exposed to the public internet and is meant to be accessed by third-party integrations."
  },
  "servers": [
    {
      "url": "https://api.clickup.com/",
      "description": "ClickUp"
    }
  ],
  "paths": {
    "/api/v3/workspaces/{workspace_id}/chat/messages/{message_id}": {
      "patch": {
        "operationId": "patchChatMessage",
        "summary": "Update a message",
        "description": "This endpoint updates a message.",
        "parameters": [
          {
            "name": "workspace_id",
            "in": "path",
            "description": "The ID of the Workspace.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/CommentPublicApiChatMessagesControllerPatchChatMessageWorkspaceIdPath"
            }
          },
          {
            "name": "message_id",
            "in": "path",
            "description": "The ID of the specified message.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommentPatchChatMessage"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The message that was updated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommentPatchChatMessageResponse"
                }
              }
            }
          },
          "400": {
            "description": "Returns when the request is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommentPublicApiErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Returns when {messageId} was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommentPublicApiErrorResponse"
                }
              }
            }
          },
          "default": {
            "description": "Generic Error response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommentPublicApiErrorResponse"
                }
              }
            }
          }
        },
        "tags": [
          "Chat"
        ],
        "x-is-workspace-endpoint": true
      }
    }
  },
  "components": {
    "schemas": {
      "CommentPublicApiErrorResponse": {
        "type": "object",
        "properties": {
          "status": {
            "description": "The HTTP Status code for the error",
            "type": "integer"
          },
          "message": {
            "description": "The message describing the error",
            "type": "string",
            "example": "Generic error message"
          },
          "trace_id": {
            "description": "Unique trace ID for tracking the request. Used for troubleshooting errors",
            "type": "integer",
            "example": 123456789,
            "nullable": true
          },
          "timestamp": {
            "description": "The time of the error (Unix epoch milliseconds timestamp).",
            "type": "integer",
            "example": 1671534256138
          }
        },
        "required": [
          "status",
          "message",
          "trace_id",
          "timestamp"
        ]
      },
      "CommentChatPostDataCreate": {
        "type": "object",
        "properties": {
          "title": {
            "description": "The title of the chat post.",
            "type": "string",
            "maxLength": 255
          },
          "subtype": {
            "description": "The subtype of the chat post.",
            "allOf": [
              {
                "$ref": "#/components/schemas/CommentChatPostSubtypeCreate"
              }
            ]
          }
        },
        "required": [
          "title",
          "subtype"
        ]
      },
      "CommentChatPostSubtypeCreate": {
        "type": "object",
        "properties": {
          "id": {
            "description": "The subtype ID of the chat post. You can retrieve the available subtypes for your Workspace using the [Get Post Subtype IDs](https://developer.clickup.com/reference/getsubtypes) endpoint.",
            "type": "string"
          }
        },
        "required": [
          "id"
        ]
      },
      "CommentPublicApiChatMessagesControllerPatchChatMessageWorkspaceIdPath": {
        "type": "integer"
      },
      "CommentPatchChatMessage": {
        "type": "object",
        "properties": {
          "assignee": {
            "description": "The possible assignee of the message.",
            "type": "string"
          },
          "group_assignee": {
            "description": "The possible group assignee of the message.",
            "type": "string"
          },
          "content": {
            "description": "The full content of the message to be created",
            "format": "RichText",
            "maxLength": 40000,
            "type": "string"
          },
          "content_format": {
            "description": "The format of the Chat Message content (Default: text/md)",
            "type": "string",
            "default": "text/md",
            "enum": [
              "text/md",
              "text/plain"
            ]
          },
          "post_data": {
            "description": "The data of the post message.",
            "allOf": [
              {
                "$ref": "#/components/schemas/CommentChatPostDataPatch"
              }
            ]
          },
          "resolved": {
            "description": "The resolved status of the message.",
            "type": "boolean"
          }
        }
      },
      "CommentChatPostDataPatch": {
        "type": "object",
        "properties": {
          "subtype": {
            "description": "The subtype of the chat post.",
            "allOf": [
              {
                "$ref": "#/components/schemas/CommentChatPostSubtypePatch"
              }
            ]
          },
          "title": {
            "description": "The title of the chat post.",
            "type": "string",
            "maxLength": 255
          }
        }
      },
      "CommentChatPostSubtypePatch": {
        "type": "object",
        "properties": {
          "id": {
            "description": "The subtype ID of the chat post.",
            "type": "string"
          }
        },
        "required": [
          "id"
        ]
      },
      "CommentPatchChatMessageResponse": {
        "type": "object",
        "properties": {
          "post_data": {
            "description": "The data of the post message.",
            "allOf": [
              {
                "$ref": "#/components/schemas/CommentChatPostDataCreate"
              }
            ]
          },
          "assignee": {
            "description": "The possible assignee of the message.",
            "type": "string"
          },
          "assigned_by": {
            "description": "The user who assigned the message.",
            "type": "string"
          },
          "content": {
            "description": "The full content of the message.",
            "format": "RichText",
            "type": "string"
          },
          "date": {
            "description": "The date & time the message was created (Unix epoch milliseconds timestamp).",
            "type": "number"
          },
          "date_assigned": {
            "description": "The date & time the message was assigned (Unix epoch milliseconds timestamp).",
            "type": "number"
          },
          "date_resolved": {
            "description": "The date & time the message was resolved (Unix epoch milliseconds timestamp).",
            "type": "number"
          },
          "date_updated": {
            "description": "The date & time the message was updated (Unix epoch milliseconds timestamp).",
            "type": "number"
          },
          "group_assignee": {
            "description": "The possible group assignee of the message.",
            "type": "string"
          },
          "id": {
            "description": "The ID of the message.",
            "type": "string"
          },
          "parent_channel": {
            "description": "The ID of the chat this message belongs to.",
            "type": "string"
          },
          "parent_message": {
            "description": "The ID of the message this message is a reply to.",
            "type": "string"
          },
          "resolved": {
            "description": "The resolved status of the message.",
            "type": "boolean"
          },
          "resolved_by": {
            "description": "The user who resolved the message.",
            "type": "string"
          },
          "triaged_action": {
            "description": "The triaged action applied to the message.",
            "type": "number",
            "enum": [
              1,
              2
            ]
          },
          "triaged_object_id": {
            "description": "The message triaged action object id.",
            "type": "string"
          },
          "triaged_object_type": {
            "description": "The message triaged action object type.",
            "type": "number"
          },
          "type": {
            "description": "The type of message.",
            "type": "string",
            "enum": [
              "message",
              "post"
            ]
          },
          "user_id": {
            "description": "The ID of the user who created the message.",
            "type": "string"
          },
          "replies_count": {
            "description": "The number of replies to the message.",
            "type": "number"
          },
          "links": {
            "description": "The links to elements of the message.",
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "replies",
                  "tagged_users",
                  "reactions"
                ],
                "properties": {
                  "reactions": {
                    "description": "The link to the reactions of this message.",
                    "type": "string"
                  },
                  "replies": {
                    "description": "The link to the replies of this message.",
                    "type": "string"
                  },
                  "tagged_users": {
                    "description": "The link to the tagged users of this message.",
                    "type": "string"
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "tagged_users",
                  "reactions"
                ],
                "properties": {
                  "reactions": {
                    "description": "The link to the reactions of this message.",
                    "type": "string"
                  },
                  "tagged_users": {
                    "description": "The link to the tagged users of this message.",
                    "type": "string"
                  }
                }
              }
            ]
          }
        },
        "required": [
          "content",
          "date",
          "id",
          "parent_channel",
          "resolved",
          "type",
          "user_id",
          "replies_count",
          "links"
        ]
      }
    },
    "securitySchemes": {
      "authHeader": {
        "in": "header",
        "type": "apiKey",
        "name": "Authorization"
      }
    }
  },
  "tags": [
    {
      "description": "Chat API",
      "name": "Chat"
    }
  ],
  "security": [
    {
      "authHeader": []
    }
  ]
}
```