---
title: "MailMessagesByMailThreadId (Pipedrive)"
description: "\u30E1\u30FC\u30EB\u30B9\u30EC\u30C3\u30C9\u3054\u3068\u306E\u30E1\u30FC\u30EB\u30E1\u30C3\u30BB\u30FC\u30B8"
language: ja
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/ja/datamodels/pipedrive/Pipedrive.Mail.MailMessagesByMailThreadId
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Mail.MailMessagesByMailThreadId
updated: 2026-12-04T11:17:44Z
license: https://documentation.invantive.eu/ja/
---

# MailMessagesByMailThreadId: Pipedrive Mail Messages by Mail Thread

`read only` `REST`

- カタログ：`Pipedrive`
- スキーマ: `Mail`
- 主キー：`id`
- Label: Mail Messages by Mail Thread

データの取得のみ可能です。

## 概要

The e-mail messages of one conversation. Each request costs 20 tokens of the daily budget of the company.

## APIソース

- エンドポイント: `/mailbox/mailThreads/{id}/mailMessages`

## パラメータ

| 名前 | データ型 | 必須 | デフォルト | ドキュメント |
|---|---|:---:|---|---|
| `mail_thread_id` | `int64` | [x] |  | The mail thread id. |

## 表の列

テーブル `MailMessagesByMailThreadId` の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。

| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|:---:|---|---|
| `account_id` | `varchar2` | アカウントID | [ ] | filters on the platform, writable, computed, `account_id` | The connection account ID. |
| `add_time` | `datetime` | 作成日時 | [ ] | filters on the platform, writable, computed, `add_time` | The time when the mail message was inserted to database. |
| `bcc` | `varchar2` | BCC | [ ] | filters on the platform, writable, computed, `bcc` | Participants of the Bcc. |
| `body_url` | `varchar2` | 本文のURL | [ ] | filters on the platform, writable, computed, `body_url` | A link to the mail thread message. |
| `cc` | `varchar2` | CC | [ ] | filters on the platform, writable, computed, `cc` | Participants of the Cc. |
| `deleted_flag` | `varchar2` | 削除済みフラグ | [ ] | filters on the platform, writable, computed, `deleted_flag` | The deleted flag. |
| `draft` | `varchar2` | ドラフト | [ ] | filters on the platform, writable, computed, `draft` | If the mail message has a draft status then the value is the mail message object as JSON formatted string, otherwise null. |
| `from` | `varchar2` | 差出人： | [ ] | filters on the platform, writable, computed, `from` | Senders of the mail thread. |
| `has_attachments_flag` | `varchar2` | 「添付ファイルあり」フラグが設定されている | [ ] | filters on the platform, writable, computed, `has_attachments_flag` | The has attachments flag. |
| `has_body_flag` | `varchar2` | ボディフラグがある | [ ] | filters on the platform, writable, computed, `has_body_flag` | The has body flag. |
| `has_inline_attachments_flag` | `varchar2` | 「インライン添付ファイル」フラグがある | [ ] | filters on the platform, writable, computed, `has_inline_attachments_flag` | The has inline attachments flag. |
| `has_real_attachments_flag` | `varchar2` | 「実際の添付ファイルあり」フラグが設定されている | [ ] | filters on the platform, writable, computed, `has_real_attachments_flag` | The has real attachments flag. |
| `id` | `int64` | ID | [x] | filters on the platform, writable, computed, `id` | ID of the mail thread. |
| `mail_link_tracking_enabled_flag` | `varchar2` | メールリンク追跡有効フラグ | [ ] | filters on the platform, writable, computed, `mail_link_tracking_enabled_flag` | The mail link tracking enabled flag. |
| `mail_thread_id` | `int64` | メールスレッドID | [ ] | filters on the platform, writable, computed, `mail_thread_id` | ID of the mail thread. |
| `mail_tracking_status` | `varchar2` | メールの追跡状況 | [ ] | filters on the platform, writable, computed, `mail_tracking_status` | Mail tracking status. |
| `message_time` | `datetime` | メッセージの送信時刻 | [ ] | filters on the platform, writable, computed, `message_time` | The time when the mail message was received or created. |
| `read_flag` | `varchar2` | 「Read」フラグ | [ ] | filters on the platform, writable, computed, `read_flag` | The read flag. |
| `sent_flag` | `varchar2` | 「送信済み」フラグ | [ ] | filters on the platform, writable, computed, `sent_flag` | The sent flag. |
| `sent_from_pipedrive_flag` | `varchar2` | Sent From Pipedrive Flag | [ ] | filters on the platform, writable, computed, `sent_from_pipedrive_flag` | The sent from pipedrive flag. |
| `smart_bcc_flag` | `varchar2` | スマートBCCフラグ | [ ] | filters on the platform, writable, computed, `smart_bcc_flag` | The smart bcc flag. |
| `snippet` | `varchar2` | スニペット | [ ] | filters on the platform, writable, computed, `snippet` | A snippet. |
| `subject` | `varchar2` | 件名 | [ ] | filters on the platform, writable, computed, `subject` | The subject. |
| `synced_flag` | `varchar2` | 同期フラグ | [ ] | filters on the platform, writable, computed, `synced_flag` | The synced flag. |
| `to` | `varchar2` | 宛先： | [ ] | filters on the platform, writable, computed, `to` | Recipients of the mail thread. |
| `update_time` | `datetime` | 最終更新日時 | [ ] | filters on the platform, writable, computed, `update_time` | The time when the mail message was updated in database received. |
| `user_id` | `int64` | ユーザーID | [ ] | filters on the platform, writable, computed, `user_id` | ID of the user whom mail message will be assigned to. |
