---
title: "Get one mail thread"
method: GET
path: "/mailbox/mailThreads/{id}"
tags: ["Mailbox"]
---

# Get one mail thread

`GET /mailbox/mailThreads/{id}`

Returns a specific mail thread.

## Path parameters

- `id` integer, required

## Response `200`

Get mail threads

- object
  - `success` boolean — If the response is successful or not
  - `data` object — The mail thread object
    - `id` integer — ID of the mail thread
    - `account_id` string — The connection account ID
    - `user_id` integer — ID of the user whom mail message will be assigned to
    - `subject` string — The subject
    - `snippet` string — A snippet
    - `read_flag` 0 | 1 — Whether the mail thread is read
    - `mail_tracking_status` string, nullable — Mail tracking status
    - `has_attachments_flag` 0 | 1 — Whether the mail thread has an attachment
    - `has_inline_attachments_flag` 0 | 1 — Whether the mail thread has inline attachments
    - `has_real_attachments_flag` 0 | 1 — Whether the mail thread has real attachments (which are not inline)
    - `deleted_flag` 0 | 1 — Whether the mail thread is deleted
    - `synced_flag` 0 | 1 — Whether the mail thread is synced
    - `smart_bcc_flag` 0 | 1 — Whether one of the parties of the mail thread is Bcc
    - `mail_link_tracking_enabled_flag` 0 | 1 — Whether the link tracking of the mail thread is enabled
    - `parties` object — Parties of the mail thread
      - `to` object[] — Recipients of the mail thread
        - `id` integer — ID of the mail thread participant
        - `name` string — Name of the mail thread participant
        - `latest_sent` boolean — Whether the mail thread participant was last to send an email
        - `email_address` string — Email address of the mail thread participant
        - `message_time` number — Message time
        - `linked_person_id` integer — ID of the linked person
        - `linked_person_name` string — Email of the linked person
        - `mail_message_party_id` integer — ID of the mail message party
        - `linked_organization_id` integer, nullable — Linked Organization ID
      - `from` object[] — Senders of the mail thread
        - `id` integer — ID of the mail thread participant
        - `name` string — Name of the mail thread participant
        - `latest_sent` boolean — Whether the mail thread participant was last to send an email
        - `email_address` string — Email address of the mail thread participant
        - `message_time` number — Message time
        - `linked_person_id` integer — ID of the linked person
        - `linked_person_name` string — Email of the linked person
        - `mail_message_party_id` integer — ID of the mail message party
        - `linked_organization_id` integer, nullable — Linked Organization ID
    - `drafts_parties` object[] — Parties of the drafted mail thread
    - `folders` string[] — Folders in which messages from thread are being stored
    - `version` number — Version
    - `snippet_draft` string, nullable — A snippet from a draft
    - `snippet_sent` string — A snippet from a message sent
    - `message_count` integer — An amount of messages
    - `has_draft_flag` 0 | 1 — Whether the mail thread has any drafts
    - `has_sent_flag` 0 | 1 — Whether the mail thread has messages sent
    - `archived_flag` 0 | 1 — Whether the mail thread is archived
    - `shared_flag` 0 | 1 — Whether the mail thread is shared
    - `external_deleted_flag` 0 | 1 — Whether the mail thread has been deleted externally
    - `first_message_to_me_flag` 0 | 1 — Whether the mail thread was initialized by others
    - `last_message_timestamp` string, date-time — Last message timestamp
    - `first_message_timestamp` string, date-time — The time when the mail thread has had the first message received or created
    - `last_message_sent_timestamp` string, date-time, nullable — The last time when the mail thread has had a message sent
    - `last_message_received_timestamp` string, date-time — The last time when the mail thread has had a message received
    - `add_time` string, date-time — The time when the mail thread was inserted to database
    - `update_time` string, date-time — The time when the mail thread was updated in database received
    - `deal_id` integer, nullable — The ID of the deal
    - `deal_status` string, nullable — Status of the deal
    - `lead_id` string, uuid, nullable — The ID of the lead
    - `all_messages_sent_flag` 0 | 1 — Whether all the mail thread messages have been sent

---

[API](https://skmtc.net/pipedrive/apis/pipedrive-api-v1.md) · [All operations](https://skmtc.net/pipedrive/apis/pipedrive-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pipedrive/pipedrive-api-v1/revisions/bf863a979545/schema)
