---
title: "MailThreadsByFolder (Pipedrive)"
description: "E-posttr\u00E5dar efter mapp"
language: sv
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/sv/datamodels/pipedrive/Pipedrive.Mail.MailThreadsByFolder
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Mail.MailThreadsByFolder
updated: 2026-12-04T07:55:52Z
license: https://documentation.invantive.eu/sv/
---

# MailThreadsByFolder: Pipedrive Mail Threads by Folder

`read only` `REST`

- Katalog: `Pipedrive`
- Schema: `Mail`
- Primärnycklar: `id`
- Label: Mail Threads by Folder

Kan endast hämta data.

## Sammanfattning

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.

## API-källa

- Slutpunkt: `/mailbox/mailThreads`

## Parametrar

| Namn | Datatyp | Nödvändigt | Standard | Dokumentation |
|---|---|:---:|---|---|
| `folder` | `varchar2` | [x] |  | The folder. |

## Tabellkolumner

Tabellens kolumner `MailThreadsByFolder` visas nedan. Varje kolumn har en SQL-datatyp. Ett nytt värde som inte är null måste alltid anges för varje obligatorisk kolumn vid insättning och uppdatering.

| Namn | Datatyp | Etikett | Nödvändigt | Betyg | Dokumentation |
|---|---|---|:---:|---|---|
| `account_id` | `varchar2` | Konto-ID | [ ] | filters on the platform, writable, computed, `account_id` | The connection account ID. |
| `add_time` | `datetime` | Skapelsetid | [ ] | filters on the platform, writable, computed, `add_time` | The time when the mail thread was inserted to database. |
| `all_messages_sent_flag` | `varchar2` | Markering för alla skickade meddelanden | [ ] | filters on the platform, writable, computed, `all_messages_sent_flag` | The all messages sent flag. |
| `archived_flag` | `int64` | Arkiverad flagga | [ ] | filter på plattformen, skrivbar, `archived_flag` | Whether the mail thread is archived. |
| `deal_id` | `int64` | Affärs-ID | [ ] | filter på plattformen, skrivbar, `deal_id` | The ID of the deal. |
| `deal_status` | `varchar2` | Affärens status | [ ] | filters on the platform, writable, computed, `deal_status` | Status of the deal. |
| `deleted_flag` | `varchar2` | Flagga som borttagen | [ ] | filters on the platform, writable, computed, `deleted_flag` | The deleted flag. |
| `drafts_parties` | `varchar2` | Konventionsparterna | [ ] | filters on the platform, writable, computed, `drafts_parties` | Parties of the drafted mail thread. |
| `external_deleted_flag` | `varchar2` | Flagga för extern radering | [ ] | filters on the platform, writable, computed, `external_deleted_flag` | The external deleted flag. |
| `first_message_timestamp` | `datetime` | Tidsstämpel för det första meddelandet | [ ] | 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` | Markera ”Första meddelandet till mig” | [ ] | filters on the platform, writable, computed, `first_message_to_me_flag` | The first message to me flag. |
| `folder` | `varchar2` | Mapp | [ ] | filters on the platform, writable, computed, `folder` | The folder the rows were read for. |
| `folders` | `varchar2` | Mappar | [ ] | filters on the platform, writable, computed, `folders` | Folders in which messages from thread are being stored. |
| `has_attachments_flag` | `varchar2` | Har flagga för bilagor | [ ] | filters on the platform, writable, computed, `has_attachments_flag` | The has attachments flag. |
| `has_draft_flag` | `varchar2` | Har flagg för utkast | [ ] | filters on the platform, writable, computed, `has_draft_flag` | The has draft flag. |
| `has_inline_attachments_flag` | `varchar2` | Har flaggan för inbäddade bilagor | [ ] | filters on the platform, writable, computed, `has_inline_attachments_flag` | The has inline attachments flag. |
| `has_real_attachments_flag` | `varchar2` | Har flaggan ”Verkliga bilagor” | [ ] | filters on the platform, writable, computed, `has_real_attachments_flag` | The has real attachments flag. |
| `has_sent_flag` | `varchar2` | Har skickat flagga | [ ] | 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` | Tidsstämpel för senast mottaget meddelande | [ ] | 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` | Tidsstämpel för senast skickat meddelande | [ ] | 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` | Tidsstämpel för senaste meddelandet | [ ] | filters on the platform, writable, computed, `last_message_timestamp` | Last message timestamp. |
| `lead_id` | `varchar2` | Lead-ID | [ ] | filter på plattformen, skrivbar, `lead_id` | The ID of the lead. |
| `mail_link_tracking_enabled_flag` | `varchar2` | Markering för aktiverad spårning av e-postlänkar | [ ] | filters on the platform, writable, computed, `mail_link_tracking_enabled_flag` | The mail link tracking enabled flag. |
| `mail_tracking_status` | `varchar2` | Status för spårning av försändelser | [ ] | filters on the platform, writable, computed, `mail_tracking_status` | Mail tracking status. |
| `message_count` | `int64` | Antal meddelanden | [ ] | filters on the platform, writable, computed, `message_count` | An amount of messages. |
| `parties_from` | `varchar2` | Parter från | [ ] | filters on the platform, writable, computed, `parties.from` | Senders of the mail thread. |
| `parties_to` | `varchar2` | Parter i | [ ] | filters on the platform, writable, computed, `parties.to` | Recipients of the mail thread. |
| `read_flag` | `varchar2` | Läs flagga | [ ] | filter på plattformen, skrivbar, `read_flag` | The read flag. |
| `shared_flag` | `varchar2` | Gemensam flagga | [ ] | filter på plattformen, skrivbar, `shared_flag` | The shared flag. |
| `smart_bcc_flag` | `varchar2` | Smart BCC-markering | [ ] | filters on the platform, writable, computed, `smart_bcc_flag` | The smart bcc flag. |
| `snippet` | `varchar2` | Utdrag | [ ] | filters on the platform, writable, computed, `snippet` | A snippet. |
| `snippet_draft` | `varchar2` | Utkast till utdrag | [ ] | filters on the platform, writable, computed, `snippet_draft` | A snippet from a draft. |
| `snippet_sent` | `varchar2` | Utdrag skickat | [ ] | filters on the platform, writable, computed, `snippet_sent` | A snippet from a message sent. |
| `subject` | `varchar2` | Ämne | [ ] | filters on the platform, writable, computed, `subject` | The subject. |
| `synced_flag` | `varchar2` | Synkroniserad flagga | [ ] | filters on the platform, writable, computed, `synced_flag` | The synced flag. |
| `update_time` | `datetime` | Senaste uppdateringstid | [ ] | filters on the platform, writable, computed, `update_time` | The time when the mail thread was updated in database received. |
| `user_id` | `int64` | Användar-ID | [ ] | filters on the platform, writable, computed, `user_id` | ID of the user whom mail message will be assigned to. |
| `version` | `decimal` | Version | [ ] | filters on the platform, writable, computed, `version` | Version. |
