SDK method
threads.list
One bounded page of currently authorized conversations.
Signature
ts
list(input: ThreadListInput): Promise<ThreadListPage>Parameters
| Name | Type | Required | Description |
|---|---|---|---|
inboxId | string | no | — |
unread | boolean | no | — |
starred | boolean | no | — |
snoozed | boolean | no | — |
status | "open" | "archived" | "spam" | "trash" | "all" | no | — |
state | "open" | "closed" | no | — |
assignedToMe | boolean | no | — |
unassigned | boolean | no | — |
hasSent | boolean | no | — |
campaign | string | no | — |
limit | number | no | — |
offset | number | no | — |
Returns
Promise<ThreadListPage>