---
title: "MailThreadsByFolder (Pipedrive)"
description: "E-mailov\u00E9 vl\u00E1kna podle slo\u017Eek"
language: cs
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/cs/datamodels/pipedrive/Pipedrive.Mail.MailThreadsByFolder
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Mail.MailThreadsByFolder
updated: 2026-12-04T04:39:42Z
license: https://documentation.invantive.eu/cs/
---

# MailThreadsByFolder: Pipedrive Mail Threads by Folder

`read only` `REST`

- Katalog: `Pipedrive`
- Schéma: `Mail`
- Primární klíče: `id`
- Label: Mail Threads by Folder

Lze načítat pouze data.

## Shrnutí

The e-mail conversations in one folder of the mailbox: inbox, drafts, sent or archive. Each request costs 20 tokens of the daily budget of the company.

## Zdroj API

- Koncový bod: `/mailbox/mailThreads`

## Parametry

| Jméno | Datový typ | Vyžadováno | Výchozí | Dokumentace |
|---|---|:---:|---|---|
| `folder` | `varchar2` | [x] |  | The folder. |

## Sloupce tabulky

Sloupce tabulky `MailThreadsByFolder` jsou uvedeny níže. Každý sloupec má datový typ SQL. Pro každý požadovaný sloupec musí být vždy během vkládání a aktualizace zadána nová hodnota, která není nulová (non-null).

| Jméno | Datový typ | Štítek | Vyžadováno | Značky | Dokumentace |
|---|---|---|:---:|---|---|
| `account_id` | `varchar2` | ID Účtu | [ ] | filters on the platform, writable, computed, `account_id` | The connection account ID. |
| `add_time` | `datetime` | Doba vzniku | [ ] | filters on the platform, writable, computed, `add_time` | The time when the mail thread was inserted to database. |
| `all_messages_sent_flag` | `varchar2` | Označit všechny odeslané zprávy | [ ] | filters on the platform, writable, computed, `all_messages_sent_flag` | The all messages sent flag. |
| `archived_flag` | `int64` | Archivovaná vlajka | [ ] | filtry na platformě, zapisovatelné, `archived_flag` | Whether the mail thread is archived. |
| `deal_id` | `int64` | ID transakce | [ ] | filtry na platformě, zapisovatelné, `deal_id` | The ID of the deal. |
| `deal_status` | `varchar2` | Stav transakce | [ ] | filters on the platform, writable, computed, `deal_status` | Status of the deal. |
| `deleted_flag` | `varchar2` | Označení jako smazané | [ ] | filters on the platform, writable, computed, `deleted_flag` | The deleted flag. |
| `drafts_parties` | `varchar2` | Smluvní strany Dohody o draftu | [ ] | filters on the platform, writable, computed, `drafts_parties` | Parties of the drafted mail thread. |
| `external_deleted_flag` | `varchar2` | Externí příznak smazání | [ ] | filters on the platform, writable, computed, `external_deleted_flag` | The external deleted flag. |
| `first_message_timestamp` | `datetime` | Časové razítko první zprávy | [ ] | filters on the platform, writable, computed, `first_message_timestamp` | The time when the mail thread has had the first message received or created. |
| `first_message_to_me_flag` | `varchar2` | Značka „První zpráva pro mě“ | [ ] | filters on the platform, writable, computed, `first_message_to_me_flag` | The first message to me flag. |
| `folder` | `varchar2` | Složka | [ ] | filters on the platform, writable, computed, `folder` | The folder the rows were read for. |
| `folders` | `varchar2` | Složky | [ ] | filters on the platform, writable, computed, `folders` | Folders in which messages from thread are being stored. |
| `has_attachments_flag` | `varchar2` | Má příznak „Přílohy“ | [ ] | filters on the platform, writable, computed, `has_attachments_flag` | The has attachments flag. |
| `has_draft_flag` | `varchar2` | Má označení „Návrh“ | [ ] | filters on the platform, writable, computed, `has_draft_flag` | The has draft flag. |
| `has_inline_attachments_flag` | `varchar2` | Obsahuje příznak „Přílohy v textu“ | [ ] | filters on the platform, writable, computed, `has_inline_attachments_flag` | The has inline attachments flag. |
| `has_real_attachments_flag` | `varchar2` | Má příznak „Skutečné přílohy“ | [ ] | filters on the platform, writable, computed, `has_real_attachments_flag` | The has real attachments flag. |
| `has_sent_flag` | `varchar2` | Značka „Odesláno“ | [ ] | filters on the platform, writable, computed, `has_sent_flag` | The has sent flag. |
| `id` | `int64` | ID | [x] | filters on the platform, writable, computed, `id` | ID of the mail thread. |
| `last_message_received_timestamp` | `datetime` | Časové razítko posledního přijatého zprávy | [ ] | filters on the platform, writable, computed, `last_message_received_timestamp` | The last time when the mail thread has had a message received. |
| `last_message_sent_timestamp` | `datetime` | Časové razítko odeslání poslední zprávy | [ ] | filters on the platform, writable, computed, `last_message_sent_timestamp` | The last time when the mail thread has had a message sent. |
| `last_message_timestamp` | `datetime` | Časové razítko poslední zprávy | [ ] | filters on the platform, writable, computed, `last_message_timestamp` | Last message timestamp. |
| `lead_id` | `varchar2` | Identifikační číslo olova | [ ] | filtry na platformě, zapisovatelné, `lead_id` | The ID of the lead. |
| `mail_link_tracking_enabled_flag` | `varchar2` | Příznak povolení sledování odkazů v e-mailech | [ ] | filters on the platform, writable, computed, `mail_link_tracking_enabled_flag` | The mail link tracking enabled flag. |
| `mail_tracking_status` | `varchar2` | Stav sledování zásilky | [ ] | filters on the platform, writable, computed, `mail_tracking_status` | Mail tracking status. |
| `message_count` | `int64` | Počet zpráv | [ ] | filters on the platform, writable, computed, `message_count` | An amount of messages. |
| `parties_from` | `varchar2` | Účastníci z | [ ] | filters on the platform, writable, computed, `parties.from` | Senders of the mail thread. |
| `parties_to` | `varchar2` | Smluvní strany | [ ] | filters on the platform, writable, computed, `parties.to` | Recipients of the mail thread. |
| `read_flag` | `varchar2` | Přečíst vlajku | [ ] | filtry na platformě, zapisovatelné, `read_flag` | The read flag. |
| `shared_flag` | `varchar2` | Společná vlajka | [ ] | filtry na platformě, zapisovatelné, `shared_flag` | The shared flag. |
| `smart_bcc_flag` | `varchar2` | Inteligentní příznak BCC | [ ] | filters on the platform, writable, computed, `smart_bcc_flag` | The smart bcc flag. |
| `snippet` | `varchar2` | Úryvek | [ ] | filters on the platform, writable, computed, `snippet` | A snippet. |
| `snippet_draft` | `varchar2` | Návrh úryvku | [ ] | filters on the platform, writable, computed, `snippet_draft` | A snippet from a draft. |
| `snippet_sent` | `varchar2` | Úryvek odeslán | [ ] | filters on the platform, writable, computed, `snippet_sent` | A snippet from a message sent. |
| `subject` | `varchar2` | Předmět | [ ] | filters on the platform, writable, computed, `subject` | The subject. |
| `synced_flag` | `varchar2` | Příznak synchronizace | [ ] | filters on the platform, writable, computed, `synced_flag` | The synced flag. |
| `update_time` | `datetime` | Čas poslední aktualizace | [ ] | filters on the platform, writable, computed, `update_time` | The time when the mail thread was updated in database received. |
| `user_id` | `int64` | ID Uživatele | [ ] | filters on the platform, writable, computed, `user_id` | ID of the user whom mail message will be assigned to. |
| `version` | `decimal` | Verze | [ ] | filters on the platform, writable, computed, `version` | Version. |
