---
title: "Get Case Communication Thread"
source_url: https://docs.rapyd.net/en/get-case-communication-thread.html
lang: en
---

# Get Case Communication Thread

Retrieves a specific communication thread and all its associated messages.

### Parameters

### Request Path Parameters

- - thread_token (string, required)
  - Unique token for communication thread. String starting with `comm_`. See also the thread_token in the response of Get All Case Communication Threads.

### Request Header Parameters

- - access_key (string, required)
  - Unique access key provided by Rapyd for each authorized user.

    See [Developers](https://docs.rapyd.net/en/developers.md "Developers").
- - Content-Type (string, required)
  - Indicates that the data appears in JSON format. Set to **application/json**.
- - salt (string, required)
  - Random string. Recommended length: 8-16 characters.
- - signature (string, required)
  - Signature calculated for each request individually.

    See [Request Signatures](https://docs.rapyd.net/en/request-signatures.md "Request Signatures").
- - timestamp (string, required)
  - Timestamp for the request, in [Unix time](https://docs.rapyd.net/en/glossary.md#UUID-945d98cf-adae-e1cf-2606-c7fae8b4a7e1_unix_time "Unix time") (seconds).

### 200 Response

An array of message objects where each object includes the following:

- attachments (array)
- An array of objects where each object includes the following parameters:

  - file_id (string)
  - The identifier of the attachment to download. Obtain it from the attachments array of a message. See also response in Get Case Communication Thread.

  - file_name (string)
  - The name of the file.

- comm_token (string)
- Unique token for message. String starting with **msg_**.

- content (string)
- The contents of the message.

- content_structured (object)
- Includes the ops array, which provides formatting information on the content.

  - ops (object)
  - A single content-formatting operation.

    - insert (string)
    - The inserted text portion of the content. Note: **/n** indicates a line break.

    - attributes (object)
    - Boolean formatting parameters of the inserted text. The following are common attributes. See also the [Quill library formats](https://quilljs.com/docs/formats/).

      - bold (boolean)
      - When the value is true, the inserted text is formatted in bold.

      - italic (boolean)
      - When the value is true, the inserted text is formatted in italic.

      - underline (boolean)
      - When the value is true, the inserted text is underlined.

- created_at (string)
- The Unix Epoch time when the message was created.

- message_direction (string)
- The direction of the message. Values include:

  - **incoming:** A message that was received.

  - **outgoing:** A message that was sent.

- thread_token (string)
- Unique token for communication thread. String starting with **comm_** . See also the `thread_token` in the response of [Get All Case Communication Threads](https://docs.rapyd.net/en/get-all-case-communication-threads.md "Get All Case Communication Threads").

- updated_at (string)
- The Unix Epoch time when the message was updated.

- /v1/threads/:thread_token/messages

- Get Case Communication Thread
- ```curl
  curl -X GET
  'https://api.rapyd.net/v1/threads/comm_5eda2b2651d2a9bda22845aff027ca53/messages' \
  -H 'access_key: your-access-key-here' \
  -H 'Content-Type: application/json' \
  -H 'salt: your-random-string-here' \
  -H 'signature: your-calculated-signature-here' \
  -H 'timestamp: your-unix-timestamp-here'
  ```
- ```json
  {
      "status": {
          "error_code": "",
          "status": "SUCCESS",
          "message": "",
          "response_code": "",
          "operation_id": "821970eb-bf49-47d5-98f3-5dc5a7e25942"
      },
      "data": [
          {
              "comm_token": "comm_5eda2b2651d2a9bda22845aff027ca53",
              "thread_token": "msg_7cf4d4867ff84211db649e66c01998c2",
              "content": "Please review this document today\n It is important.",
              "content_structured": {
                  "ops": [
                      {
                          "insert": "Please review this document today",
                          "attributes": {
                              "bold": true
                          }
                      },
                      {
                          "insert": "\n"
                      },
                      {
                          "insert": "It is important.",
                          "attributes": {
                              "underline": true,
                              "italic": true,
                              "bold": true
                          }
                      }
                  ]
              },
              "message_direction": "outgoing",
              "attachments": [
                  {
                      "file_id": "a8dd8e36-d8bb-4a6f-9431-699e6f11952d",
                      "file_name": "2025-07-28_23-56-19.png"
                  },
                  {
                      "file_id": "ef7f7b26-4ad8-4cc7-b5f2-39877a139354",
                      "file_name": "2025-08-30_20-13-16.png"
                  }
              ],
              "created_at": 1752491455,
              "updated_at": 1752491455
          },
          {
              "comm_token": "comm_5eda2b2651d2a9bda22845aff027ca53",
              "thread_token": "msg_9805cfc91452f27e37310bbb0e8d29bf",
              "content": "Can we close this thread?\n",
              "content_structured": {
                  "ops": [
                      {
                          "insert": "Can we close this thread?",
                          "attributes": {
                              "bold": true
                          }
                      },
                      {
                          "insert": "\n"
                      }
                  ]
              },
              "message_direction": "incoming",
              "attachments": [],
              "created_at": 1752486091,
              "updated_at": 1752486091
          },
          {
              "comm_token": "comm_5eda2b2651d2a9bda22845aff027ca53",
              "thread_token": "msg_43711f1379b391372a27a82c19c8ab9b",
              "content": "NEW MESSAGE\n",
              "content_structured": {
                  "ops": [
                      {
                          "insert": "NEW MESSAGE",
                          "attributes": {
                              "bold": true,
                              "underline": true
                          }
                      },
                      {
                          "insert": "\n"
                      }
                  ]
              },
              "message_direction": "incoming",
              "attachments": [],
              "created_at": 1752481359,
              "updated_at": 1752481359
          }
      ]
  }
  ```
