---
title: "MailThreadsByFolder (Pipedrive)"
description: "E-posttr\u00E5der etter mappe"
language: nb
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/nb/datamodels/pipedrive/Pipedrive.Mail.MailThreadsByFolder
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Mail.MailThreadsByFolder
updated: 2026-12-04T05:55:46Z
license: https://documentation.invantive.eu/nb/
---

# MailThreadsByFolder: Pipedrive Mail Threads by Folder

`read only` `REST`

- Katalog: `Pipedrive`
- Skjema: `Mail`
- Primærnøkler: `id`
- Label: Mail Threads by Folder

Kan kun hente data.

## Sammendrag

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-kilde

- Endepunkt: `/mailbox/mailThreads`

## Parametere

| Navn | Datatype | Nødvendig | Standard | Dokumentasjon |
|---|---|:---:|---|---|
| `folder` | `varchar2` | [x] |  | The folder. |

## Tabellkolonner

Kolonnene i tabellen `MailThreadsByFolder` vises nedenfor. Hver kolonne har en SQL-datatype. En ny ikke-nullverdi må oppgis for hver nødvendig kolonne til enhver tid under innsetting og oppdatering.

| Navn | Datatype | Etikett | Nødvendig | Karakterer | Dokumentasjon |
|---|---|---|:---:|---|---|
| `account_id` | `varchar2` | Konto-ID | [ ] | filters on the platform, writable, computed, `account_id` | The connection account ID. |
| `add_time` | `datetime` | Opprettelsestidspunkt | [ ] | filters on the platform, writable, computed, `add_time` | The time when the mail thread was inserted to database. |
| `all_messages_sent_flag` | `varchar2` | Merk alle sendte meldinger | [ ] | filters on the platform, writable, computed, `all_messages_sent_flag` | The all messages sent flag. |
| `archived_flag` | `int64` | Arkivert flagg | [ ] | filtre i plattformen, skrivbar, `archived_flag` | Whether the mail thread is archived. |
| `deal_id` | `int64` | Avtale-ID | [ ] | filtre i plattformen, skrivbar, `deal_id` | The ID of the deal. |
| `deal_status` | `varchar2` | Avtalestatus | [ ] | filters on the platform, writable, computed, `deal_status` | Status of the deal. |
| `deleted_flag` | `varchar2` | Flagget som slettet | [ ] | filters on the platform, writable, computed, `deleted_flag` | The deleted flag. |
| `drafts_parties` | `varchar2` | Partene i konvensjonen | [ ] | filters on the platform, writable, computed, `drafts_parties` | Parties of the drafted mail thread. |
| `external_deleted_flag` | `varchar2` | Flag for ekstern sletting | [ ] | filters on the platform, writable, computed, `external_deleted_flag` | The external deleted flag. |
| `first_message_timestamp` | `datetime` | Tidsstempel for første melding | [ ] | 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` | «Første melding til meg»-merke | [ ] | filters on the platform, writable, computed, `first_message_to_me_flag` | The first message to me flag. |
| `folder` | `varchar2` | Mappe | [ ] | filters on the platform, writable, computed, `folder` | The folder the rows were read for. |
| `folders` | `varchar2` | Mapper | [ ] | filters on the platform, writable, computed, `folders` | Folders in which messages from thread are being stored. |
| `has_attachments_flag` | `varchar2` | Har flagg for vedlegg | [ ] | filters on the platform, writable, computed, `has_attachments_flag` | The has attachments flag. |
| `has_draft_flag` | `varchar2` | Har utkastflagg | [ ] | filters on the platform, writable, computed, `has_draft_flag` | The has draft flag. |
| `has_inline_attachments_flag` | `varchar2` | Har flagget for innebygde vedlegg | [ ] | filters on the platform, writable, computed, `has_inline_attachments_flag` | The has inline attachments flag. |
| `has_real_attachments_flag` | `varchar2` | Har «Real Attachments»-merket | [ ] | filters on the platform, writable, computed, `has_real_attachments_flag` | The has real attachments flag. |
| `has_sent_flag` | `varchar2` | Har sendt flagg | [ ] | 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` | Tidsstempel for siste mottatte melding | [ ] | 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` | Tidsstempel for siste sendte melding | [ ] | 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` | Tidsstempel for siste melding | [ ] | filters on the platform, writable, computed, `last_message_timestamp` | Last message timestamp. |
| `lead_id` | `varchar2` | Hoved-ID | [ ] | filtre i plattformen, skrivbar, `lead_id` | The ID of the lead. |
| `mail_link_tracking_enabled_flag` | `varchar2` | Flag for aktivert sporing av e-postlenker | [ ] | filters on the platform, writable, computed, `mail_link_tracking_enabled_flag` | The mail link tracking enabled flag. |
| `mail_tracking_status` | `varchar2` | Status for sporingen av posten | [ ] | filters on the platform, writable, computed, `mail_tracking_status` | Mail tracking status. |
| `message_count` | `int64` | Antall meldinger | [ ] | filters on the platform, writable, computed, `message_count` | An amount of messages. |
| `parties_from` | `varchar2` | Parter fra | [ ] | 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` | Les flagg | [ ] | filtre i plattformen, skrivbar, `read_flag` | The read flag. |
| `shared_flag` | `varchar2` | Felles flagg | [ ] | filtre i plattformen, skrivbar, `shared_flag` | The shared flag. |
| `smart_bcc_flag` | `varchar2` | Smart BCC-merke | [ ] | 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 til utdrag | [ ] | filters on the platform, writable, computed, `snippet_draft` | A snippet from a draft. |
| `snippet_sent` | `varchar2` | Utdrag sendt | [ ] | filters on the platform, writable, computed, `snippet_sent` | A snippet from a message sent. |
| `subject` | `varchar2` | Emne | [ ] | filters on the platform, writable, computed, `subject` | The subject. |
| `synced_flag` | `varchar2` | Synkronisert flagg | [ ] | filters on the platform, writable, computed, `synced_flag` | The synced flag. |
| `update_time` | `datetime` | Siste oppdateringstidspunkt | [ ] | filters on the platform, writable, computed, `update_time` | The time when the mail thread was updated in database received. |
| `user_id` | `int64` | Bruker-ID | [ ] | filters on the platform, writable, computed, `user_id` | ID of the user whom mail message will be assigned to. |
| `version` | `decimal` | Versjon | [ ] | filters on the platform, writable, computed, `version` | Version. |
