---
title: "PUT /conversations/{conversation_id}/messages/{id}"
method: PUT
path: "/conversations/{conversation_id}/messages/{id}"
tags: ["Conversations"]
---

# PUT /conversations/{conversation_id}/messages/{id}

`PUT /conversations/{conversation_id}/messages/{id}`

Update specific Message given by id of a given conversation.

## Path parameters

- `conversation_id` string, required
- `id` string, required

## Request body

- ConversationsMessage — Represents *Message* object. `id` -- id of the message. `conversation` -- id of the linked conversation. `account` -- information about partner who posted the message into the conversation. `created` -- the information about when was the message created. `creator` -- information about the user who posted the message. `text` -- actual message value. `type` -- message type. Can be one of `message` (message visible for all accounts involved), `state_change` (message which appears in UI as status change and not as the message in a thread from a user) or `private` (message visible only to users of the creator account and not to the other involved partner users). `events` -- the information about who and when created and/or updated the conversation.
  - `id` string
  - `conversation` string
  - `account` ConversationsAccount — Connect Account details. `id` -- id of the account. `name` -- name of the account. `icon` -- icon of the account.
    - `id` string, required
    - `name` string
    - `icon` string, nullable
  - `created` string, date-time
  - `creator` ConversationsActor — Connect Actor details. `id` -- id of the actor. `name` -- name of the actor. `icon` -- icon of the actor.
    - `id` string
    - `name` string
    - `icon` string
  - `text` string, required
  - `type` 'message' | 'state_change' | 'private'
  - `events` object
    - `created` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `updated` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string

## Response `200`

- ConversationsMessage — Represents *Message* object. `id` -- id of the message. `conversation` -- id of the linked conversation. `account` -- information about partner who posted the message into the conversation. `created` -- the information about when was the message created. `creator` -- information about the user who posted the message. `text` -- actual message value. `type` -- message type. Can be one of `message` (message visible for all accounts involved), `state_change` (message which appears in UI as status change and not as the message in a thread from a user) or `private` (message visible only to users of the creator account and not to the other involved partner users). `events` -- the information about who and when created and/or updated the conversation.
  - `id` string
  - `conversation` string
  - `account` ConversationsAccount — Connect Account details. `id` -- id of the account. `name` -- name of the account. `icon` -- icon of the account.
    - `id` string, required
    - `name` string
    - `icon` string, nullable
  - `created` string, date-time
  - `creator` ConversationsActor — Connect Actor details. `id` -- id of the actor. `name` -- name of the actor. `icon` -- icon of the actor.
    - `id` string
    - `name` string
    - `icon` string
  - `text` string, required
  - `type` 'message' | 'state_change' | 'private'
  - `events` object
    - `created` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `updated` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string

## Other responses

- `400`

---

[API](https://skmtc.net/cloudblue/apis/cloudblue-connect-api.md) · [All operations](https://skmtc.net/cloudblue/apis/cloudblue-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudblue/cloudblue-connect-api/revisions/0421d2a97c52/schema)
