---
title: "MailMessagesByMailThreadId (Pipedrive)"
description: "E-mail-beskeder efter e-mail-tr\u00E5d"
language: da
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/da/datamodels/pipedrive/Pipedrive.Mail.MailMessagesByMailThreadId
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Mail.MailMessagesByMailThreadId
updated: 2026-12-04T07:31:50Z
license: https://documentation.invantive.eu/da/
---

# MailMessagesByMailThreadId: Pipedrive Mail Messages by Mail Thread

`read only` `REST`

- Katalog: `Pipedrive`
- Skema: `Mail`
- Primærnøgler: `id`
- Label: Mail Messages by Mail Thread

Kan kun hente data.

## Resumé

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

## API-kilde

- Endepunkt: `/mailbox/mailThreads/{id}/mailMessages`

## Parametre

| Navn | Datatype | Krævet | Standard | Dokumentation |
|---|---|:---:|---|---|
| `mail_thread_id` | `int64` | [x] |  | The mail thread id. |

## Tabelkolonner

Tabellens kolonner `MailMessagesByMailThreadId` er vist nedenfor. Hver kolonne har en SQL-datatype. Der skal til enhver tid angives en ny ikke-null-værdi for hver krævet kolonne under indsætning og opdatering.

| Navn | Datatype | Etiket | Krævet | Mærker | Dokumentation |
|---|---|---|:---:|---|---|
| `account_id` | `varchar2` | Konto-id | [ ] | filters on the platform, writable, computed, `account_id` | The connection account ID. |
| `add_time` | `datetime` | Oprettelsestidspunkt | [ ] | 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` | Hoved-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` | Flag for slettet | [ ] | filters on the platform, writable, computed, `deleted_flag` | The deleted flag. |
| `draft` | `varchar2` | Udkast | [ ] | 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` | Fra | [ ] | filters on the platform, writable, computed, `from` | Senders of the mail thread. |
| `has_attachments_flag` | `varchar2` | Har flag for vedhæftede filer | [ ] | filters on the platform, writable, computed, `has_attachments_flag` | The has attachments flag. |
| `has_body_flag` | `varchar2` | Har Body Flag | [ ] | filters on the platform, writable, computed, `has_body_flag` | The has body flag. |
| `has_inline_attachments_flag` | `varchar2` | Har markeringen for vedhæftede filer i teksten | [ ] | filters on the platform, writable, computed, `has_inline_attachments_flag` | The has inline attachments flag. |
| `has_real_attachments_flag` | `varchar2` | Har flag for »Real Attachments« | [ ] | 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` | Markering for aktiveret sporing af e-mail-links | [ ] | filters on the platform, writable, computed, `mail_link_tracking_enabled_flag` | The mail link tracking enabled flag. |
| `mail_thread_id` | `int64` | E-mail-tråd-ID | [ ] | filters on the platform, writable, computed, `mail_thread_id` | ID of the mail thread. |
| `mail_tracking_status` | `varchar2` | Status for sporingen af forsendelsen | [ ] | filters on the platform, writable, computed, `mail_tracking_status` | Mail tracking status. |
| `message_time` | `datetime` | Meddelelsestidspunkt | [ ] | filters on the platform, writable, computed, `message_time` | The time when the mail message was received or created. |
| `read_flag` | `varchar2` | Læs flag | [ ] | filters on the platform, writable, computed, `read_flag` | The read flag. |
| `sent_flag` | `varchar2` | Markeret som flag | [ ] | 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` | Smart BCC-markering | [ ] | filters on the platform, writable, computed, `smart_bcc_flag` | The smart bcc flag. |
| `snippet` | `varchar2` | Uddrag | [ ] | filters on the platform, writable, computed, `snippet` | A snippet. |
| `subject` | `varchar2` | Emne | [ ] | filters on the platform, writable, computed, `subject` | The subject. |
| `synced_flag` | `varchar2` | Synkroniseret flag | [ ] | filters on the platform, writable, computed, `synced_flag` | The synced flag. |
| `to` | `varchar2` | Til | [ ] | filters on the platform, writable, computed, `to` | Recipients of the mail thread. |
| `update_time` | `datetime` | Seneste opdateringstidspunkt | [ ] | filters on the platform, writable, computed, `update_time` | The time when the mail message was updated in database received. |
| `user_id` | `int64` | Bruger-id | [ ] | filters on the platform, writable, computed, `user_id` | ID of the user whom mail message will be assigned to. |
