invantive documentation
Invantive Support ForumsLog In / Sign Up

MailThreadsByFolder: Pipedrive Mail Threads by Folder

read only REST

  • Catalog: Pipedrive
  • Schema: Mail
  • Primary Keys: id
  • Label: Mail Threads by Folder

Can only retrieve data.

Summary

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 Source

  • Endpoint: /mailbox/mailThreads

Parameters

Name Data Type Required Default Documentation
folder varchar2 The folder.

Table Columns

The columns of the table MailThreadsByFolder are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
account_id varchar2 Account ID filters on the platform, writable, computed, account_id The connection account ID.
add_time datetime Creation Time filters on the platform, writable, computed, add_time The time when the mail thread was inserted to database.
all_messages_sent_flag varchar2 All Messages Sent Flag filters on the platform, writable, computed, all_messages_sent_flag The all messages sent flag.
archived_flag int64 Archived Flag filters on the platform, writable, archived_flag Whether the mail thread is archived.
deal_id int64 Deal ID filters on the platform, writable, deal_id The ID of the deal.
deal_status varchar2 Deal Status filters on the platform, writable, computed, deal_status Status of the deal.
deleted_flag varchar2 Deleted Flag filters on the platform, writable, computed, deleted_flag The deleted flag.
drafts_parties varchar2 Drafts Parties filters on the platform, writable, computed, drafts_parties Parties of the drafted mail thread.
external_deleted_flag varchar2 External Deleted Flag filters on the platform, writable, computed, external_deleted_flag The external deleted flag.
first_message_timestamp datetime First Message Timestamp 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 First Message to Me Flag filters on the platform, writable, computed, first_message_to_me_flag The first message to me flag.
folder varchar2 Folder filters on the platform, writable, computed, folder The folder the rows were read for.
folders varchar2 Folders filters on the platform, writable, computed, folders Folders in which messages from thread are being stored.
has_attachments_flag varchar2 Has Attachments Flag filters on the platform, writable, computed, has_attachments_flag The has attachments flag.
has_draft_flag varchar2 Has Draft Flag filters on the platform, writable, computed, has_draft_flag The has draft flag.
has_inline_attachments_flag varchar2 Has Inline Attachments Flag filters on the platform, writable, computed, has_inline_attachments_flag The has inline attachments flag.
has_real_attachments_flag varchar2 Has Real Attachments Flag filters on the platform, writable, computed, has_real_attachments_flag The has real attachments flag.
has_sent_flag varchar2 Has Sent Flag filters on the platform, writable, computed, has_sent_flag The has sent flag.
id int64 ID filters on the platform, writable, computed, id ID of the mail thread.
last_message_received_timestamp datetime Last Message Received Timestamp 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 Last Message Sent Timestamp 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 Last Message Timestamp filters on the platform, writable, computed, last_message_timestamp Last message timestamp.
lead_id varchar2 Lead ID filters on the platform, writable, lead_id The ID of the lead.
mail_link_tracking_enabled_flag varchar2 Mail Link Tracking Enabled Flag filters on the platform, writable, computed, mail_link_tracking_enabled_flag The mail link tracking enabled flag.
mail_tracking_status varchar2 Mail Tracking Status filters on the platform, writable, computed, mail_tracking_status Mail tracking status.
message_count int64 Message Count filters on the platform, writable, computed, message_count An amount of messages.
parties_from varchar2 Parties From filters on the platform, writable, computed, parties.from Senders of the mail thread.
parties_to varchar2 Parties To filters on the platform, writable, computed, parties.to Recipients of the mail thread.
read_flag varchar2 Read Flag filters on the platform, writable, read_flag The read flag.
shared_flag varchar2 Shared Flag filters on the platform, writable, shared_flag The shared flag.
smart_bcc_flag varchar2 Smart BCC Flag filters on the platform, writable, computed, smart_bcc_flag The smart bcc flag.
snippet varchar2 Snippet filters on the platform, writable, computed, snippet A snippet.
snippet_draft varchar2 Snippet Draft filters on the platform, writable, computed, snippet_draft A snippet from a draft.
snippet_sent varchar2 Snippet Sent filters on the platform, writable, computed, snippet_sent A snippet from a message sent.
subject varchar2 Subject filters on the platform, writable, computed, subject The subject.
synced_flag varchar2 Synced Flag filters on the platform, writable, computed, synced_flag The synced flag.
update_time datetime Last Update Time filters on the platform, writable, computed, update_time The time when the mail thread was updated in database received.
user_id int64 User 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.