---
title: "Edit a message"
method: PUT
path: "/api/1/comments/{comment_ID}"
tags: ["Messages"]
---

# Edit a message

`PUT /api/1/comments/{comment_ID}`

## Request body

- object
  - `comment` string — This field is required when <code>status</code> is not present.
  - `title` string, nullable — Must not be greater than 255 characters.
  - `priority` integer, nullable
  - `status` 'draft' | 'sent', nullable
  - `files` integer[], required
  - `users` integer[], required

## Response `200`

- object
  - `ID` string
  - `@type` string
  - `@id` string
  - `Title` string
  - `Priority` integer
  - `pinned_at` string, nullable
  - `created_at` string
  - `updated_at` string
  - `posted_at` string, nullable
  - `archived_at` string, nullable
  - `Comment` string
  - `preview` string
  - `Format` string
  - `audience` string

---

[API](https://skmtc.net/convoflo/apis/convoflo-rest-api.md) · [All operations](https://skmtc.net/convoflo/apis/convoflo-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/convoflo/convoflo-rest-api/versions/fed4481f0476/schema)
