nylas api threads get
Returns All Threads
Options
Name | Description |
---|---|
--any_email <any_email> | Return emails that have been sent or received from this comma-separated list of email addresses. For example: mail1@mail.com,mail2@mail.com. A maximum of 25 emails may be specified |
--bcc <bcc> | Return threads containing messages that were BCC'd to this email address, likely sent from the parent account. (Most SMTP gateways remove BCC information.) |
--cc <cc> | Return threads containing messages that were CC'd to this email address |
--display_columns <headers> | (optional) A comma separated list of column headers to display for the table output |
--filename <filename> | Return object with the filename |
--from <from> | Return threads containing messages sent from this email address |
--in <in> | This parameter supports the name, display_name, or id of a folder or label. To return drafts, pass in `drafts` |
--last_message_after <last_message_after> | Return threads whose most recent message was received after this Unix-based timestamp |
--last_message_before <last_message_before> | Return threads whose most recent message was received before this Unix-based timestamp |
--last_updated_after <last_updated_after> | Return threads whose most recent last updated date is after this Unix-based timestamp |
--last_updated_before <last_updated_before> | Return threads whose most recent last updated date is before this Unix-based timestamp |
--last_updated_timestamp <last_updated_timestamp> | Return threads that been updated or changed recently. UNIX timestamp |
--limit <limit> | The number of objects to return. Defaults to 100. If set too high, requests may fail to prevent excessively large response bodies |
--not_in <not_in> | Filter messages not in a given folder or label. The filter supports the name, display, or ID of a folder or label |
--offset <offset> | Zero-based offset from default object sorting. See [pagination](/docs/api/#overview--pagintaion) for more information |
--started_after <started_after> | Return threads whose first message was received after this Unix-based timestamp |
--started_before <started_before> | Return threads whose first message was received before this Unix-based timestamp |
--subject <subject> | Return threads with a matching literal subject |
--to <to> | Return threads containing messages sent to this email address |
--view <view> | If using Search, only `view=expanded` is supported. See [Views](/docs/api/#overview--views) for more information |