---
title: "MailMessagesByMailThreadId (Pipedrive)"
description: "S\u00E4hk\u00F6postiviestit viestiketjun mukaan"
language: fi
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/fi/datamodels/pipedrive/Pipedrive.Mail.MailMessagesByMailThreadId
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Mail.MailMessagesByMailThreadId
updated: 2026-12-04T11:29:54Z
license: https://documentation.invantive.eu/fi/
---

# MailMessagesByMailThreadId: Pipedrive Mail Messages by Mail Thread

`read only` `REST`

- Luettelo: `Pipedrive`
- Kaavio: `Mail`
- Ensisijaiset avaimet: `id`
- Label: Mail Messages by Mail Thread

Voi hakea vain tietoja.

## Yhteenveto

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

## API-lähde

- Päätepiste: `/mailbox/mailThreads/{id}/mailMessages`

## Parametrit

| Nimi | Tietotyyppi | Tarvitaan | Oletus | Dokumentaatio |
|---|---|:---:|---|---|
| `mail_thread_id` | `int64` | [x] |  | The mail thread id. |

## Taulukon sarakkeet

Taulukon `MailMessagesByMailThreadId` sarakkeet on esitetty alla. Jokaisella sarakkeella on oma SQL-tietotyyppinsä. Jokaiselle pakolliselle sarakkeelle on annettava uusi, nollasta poikkeava arvo aina, kun suoritetaan lisäys- tai päivitystoiminto.

| Nimi | Tietotyyppi | Etiketti | Tarvitaan | Merkit | Dokumentaatio |
|---|---|---|:---:|---|---|
| `account_id` | `varchar2` | Tilin tunnus | [ ] | filters on the platform, writable, computed, `account_id` | The connection account ID. |
| `add_time` | `datetime` | Luomisaika | [ ] | 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` | Sisällön URL-osoite | [ ] | 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` | Poistettu-merkki | [ ] | filters on the platform, writable, computed, `deleted_flag` | The deleted flag. |
| `draft` | `varchar2` | Luonnos | [ ] | 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` | Lähettäjä: | [ ] | filters on the platform, writable, computed, `from` | Senders of the mail thread. |
| `has_attachments_flag` | `varchar2` | Onko liitteitä -merkki | [ ] | filters on the platform, writable, computed, `has_attachments_flag` | The has attachments flag. |
| `has_body_flag` | `varchar2` | Siinä on Body Flag -merkki | [ ] | filters on the platform, writable, computed, `has_body_flag` | The has body flag. |
| `has_inline_attachments_flag` | `varchar2` | Onko ”Inline-liitteet”-merkki valittuna? | [ ] | filters on the platform, writable, computed, `has_inline_attachments_flag` | The has inline attachments flag. |
| `has_real_attachments_flag` | `varchar2` | Onko ”Real Attachments” -merkki | [ ] | 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` | Sähköpostilinkkien seurannan käyttöönotto -merkki | [ ] | filters on the platform, writable, computed, `mail_link_tracking_enabled_flag` | The mail link tracking enabled flag. |
| `mail_thread_id` | `int64` | Sähköpostiketjun tunnus | [ ] | filters on the platform, writable, computed, `mail_thread_id` | ID of the mail thread. |
| `mail_tracking_status` | `varchar2` | Postin seurantatiedot | [ ] | filters on the platform, writable, computed, `mail_tracking_status` | Mail tracking status. |
| `message_time` | `datetime` | Viestin lähetysaika | [ ] | filters on the platform, writable, computed, `message_time` | The time when the mail message was received or created. |
| `read_flag` | `varchar2` | Lue lippu | [ ] | filters on the platform, writable, computed, `read_flag` | The read flag. |
| `sent_flag` | `varchar2` | Lähetetty lippu | [ ] | 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` | Älykäs BCC-merkki | [ ] | filters on the platform, writable, computed, `smart_bcc_flag` | The smart bcc flag. |
| `snippet` | `varchar2` | Ote | [ ] | filters on the platform, writable, computed, `snippet` | A snippet. |
| `subject` | `varchar2` | Aihe | [ ] | filters on the platform, writable, computed, `subject` | The subject. |
| `synced_flag` | `varchar2` | Synkronointilippu | [ ] | filters on the platform, writable, computed, `synced_flag` | The synced flag. |
| `to` | `varchar2` | Vastaanottaja: | [ ] | filters on the platform, writable, computed, `to` | Recipients of the mail thread. |
| `update_time` | `datetime` | Viimeisin päivitysaika | [ ] | filters on the platform, writable, computed, `update_time` | The time when the mail message was updated in database received. |
| `user_id` | `int64` | Käyttäjätunnus | [ ] | filters on the platform, writable, computed, `user_id` | ID of the user whom mail message will be assigned to. |
